// Security Advisory Triage

decode-uri-component vulnerable to denial of service via quadratic replacement

GitHub advisories — npm · published 2026-10-31 05:47 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDGitHub published CVE-2026-118664 on 29 October 2026, rating it high severity. The decode-uri-component npm package is vulnerable to denial of service through quadratic replacement of percent-encoded runs. Version 0.5.1 patches the vulnerability.
WHY IT MATTERSAn attacker can craft input that causes quadratic time complexity during decoding, exhausting CPU and blocking the event loop in Node.js applications that decode untrusted URI components.
WHAT TO DOUpdate decode-uri-component to 0.5.1 or later. Check package-lock.json for transitive dependencies on vulnerable versions and force resolution if necessary.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-qr28-fpjm-wq7f
+summary: decode-uri-component vulnerable to denial of service via quadratic replacement of percent-encoded runs
+severity: high
+published_at: 2026-10-29T16:41:28Z
+cve_id: CVE-2026-118664
+vulnerabilities[].package.name: decode-uri-component
+vulnerabilities[].first_patched_version: 0.5.1
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.72, needed 0.5
triage reasoningdecode-uri-component is a common utility in Node.js services; DoS via input processing affects availability.
signalsnpm package in typical dependency tree · denial of service vulnerability · patched version available (0.5.1) · high severity rating · new advisory (published 2026-10-29)
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)