CVE-2026-45822SamVerschueren decode-uri-component
Medium 6.6 No auth needed
Follow: this CVE · SamVerschueren · SamVerschueren decode-uri-component We alert you by email or Slack (account required).
- Priority
- 55
- CVSS 4.0
- 6.6
- EPSS
- —
- Auth required
- No
- Published
- Jun 30, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:U/V:D/RE:M/U:Amber
What happens
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
- Apply the vendor's security update for decode-uri-component.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | decode-uri-component |
< 0.5.0 |
0.5.0 |
npm install decode-uri-component@0.5.0 |
Per OSV / GitHub Advisories (GHSA-vcc3-ghjq-m6fr). Check the version in your lockfile before upgrading.
Affected products
- SamVerschueren · decode-uri-component
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.