CVE-2026-45822
decode-uri-component through 0.4.1 is vulnerable to denial of …
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-linear parsing time: 200 '%ab' tokens takes approximately 0.7s, 700 tokens approximately 6s, and 1400 tokens approximately 33s. An attacker can cause significant CPU consumption and event-loop blocking via crafted input.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/SamVerschueren/decode-uri-component/blob/00662938dc7c6241547ae8abce7785cc13ffd3
- github.com/SamVerschueren/decode-uri-component/commit/fa479dafeede7bedf04e5c89aa78f2a78c66
- www.npmjs.com/package/decode-uri-component
- github.com/SamVerschueren/decode-uri-component/security/advisories/GHSA-vcc3-ghjq-m6fr
- nvd.nist.gov/vuln/detail/CVE-2026-45822
- github.com/SamVerschueren/decode-uri-component/releases/tag/v0.5.0
- github.com/advisories/GHSA-vcc3-ghjq-m6fr
- nvd.nist.gov/vuln/detail/CVE-2026-45822
- cve.org/CVERecord?id=CVE-2026-45822
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.