Kurz gesagt
- CVE-2026-45822 ist eine Schwachstelle (MITTEL (CVSS 6.6)) in decode-uri-component.
- Wahrscheinlichkeit einer Ausnutzung in den nächsten 30 Tagen (EPSS): 0.51%, höher als bei 43.3% aller Schwachstellen.
- Abhilfe: auf 0.5.0 oder neuer aktualisieren.
Description
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 [email protected].
Workarounds
Limit the size of the input.
NVD description
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free