CVE-2026-45822

Medium

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.

SeverityMedium
CVSS6.6
Exploit probability—
ProductDecode-uri-component
PublishedJun 30, 2026
First seenJun 30, 2026

How to fix

Update
  • decode-uri-component0.5.0 or later

Affected products

ProductAffected versionsFixed in
decode-uri-componentnpmv < 0.5.00.5.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.