decode-uri-component: Denial of service via exponential decoding of malformed percent-encoded input
### Impact An attacker who can supply input to `decodeUriComponent()` (directly or via a dependency that uses this package on URL/query/path data) can cause excessive CPU usage and application unresponsiveness. This is an availability issue; there is no known memory corruption, data disclosure, or remote code execution impact. ### Patches Upgrade to `decode-uri-component@0.5.0`. ### Workarounds Limit the size of the input.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-45822US | — | — | ||
decode-uri-component through 0.4.1 is vulnerable to denial of service. The decode() function splits input on '%' producing N tokens and calls decodeComponents(), exhibiting super-l… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/SamVerschueren/decode-uri-componentPACKAGE
- https://github.com/SamVerschueren/decode-uri-component/blob/00662938dc7c6241547ae8abce7785cc13ffd3f6/index.jsWEB
- https://github.com/SamVerschueren/decode-uri-component/commit/fa479dafeede7bedf04e5c89aa78f2a78c664005WEB
- https://github.com/SamVerschueren/decode-uri-component/releases/tag/v0.5.0WEB
- https://github.com/SamVerschueren/decode-uri-component/security/advisories/GHSA-vcc3-ghjq-m6frWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-45822ADVISORY
- https://www.npmjs.com/package/decode-uri-componentWEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan