CVE-2026-118664
decode-uri-component provides a more robust alternative to decodeURIComponent
- Risk score
- 54/100
- CVSS
- 8.2 v4.0
- Published
- 28 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- decode-uri-component provides a more robust alternative to decodeURIComponent. Prior to 0.5.1, decodeUriComponent in index.js falls back to customDecodeURIComponent after native decoding throws, and the fallback collects every distinct percent-encoded run before performing a full-string regular-expression replacement …
- Affected
- See advisory
- Fix
- Upgrade the product to 0.5.1 or later.
- Exploitation
- No known exploitation
Why it is Yellow
- CVSS 8.2 high
- Remotely exploitable without logging in
References
Original description
decode-uri-component provides a more robust alternative to decodeURIComponent. Prior to 0.5.1, decodeUriComponent in index.js falls back to customDecodeURIComponent after native decoding throws, and the fallback collects every distinct percent-encoded run before performing a full-string regular-expression replacement for each entry. Malformed input containing many distinct runs can therefore make both the number of replacements and the scanned input length grow together, causing quadratic CPU consumption and blocking the Node.js event loop; request-body inputs can reach the demonstrated size, while ordinary URL header limits reduce the practical delay. This issue is fixed in version 0.5.1.
Last activity 28 Oct 2026. Patch Forecast updates every hour.