ADVISORIES

GitHub Advisory Database

GHSA-vcc3-ghjq-m6fr

decode-uri-component: Denial of service via exponential decoding of malformed percent-encoded input

Moderate CVE-2026-45822

Details

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.

Affected packages

EcosystemPackageAffected versions
npmdecode-uri-component
All versions before 0.5.0 (fixed in 0.5.0)

References