Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. decode-uri-component
  4. ›
  5. CVE-2026-45822

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

August 31, 2026

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.

References

  • github.com/SamVerschueren/decode-uri-component/blob/00662938dc7c6241547ae8abce7785cc13ffd3f6/index.js
  • github.com/SamVerschueren/decode-uri-component/commit/fa479dafeede7bedf04e5c89aa78f2a78c664005
  • github.com/SamVerschueren/decode-uri-component/releases/tag/v0.5.0
  • github.com/SamVerschueren/decode-uri-component/security/advisories/GHSA-vcc3-ghjq-m6fr
  • github.com/advisories/GHSA-vcc3-ghjq-m6fr
  • nvd.nist.gov/vuln/detail/CVE-2026-45822
  • www.npmjs.com/package/decode-uri-component

Code Behaviors & Features

Detect and mitigate CVE-2026-45822 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.5.0

Fixed versions

  • 0.5.0

Solution

Upgrade to version 0.5.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1176: Inefficient CPU Computation
  • CWE-400: Uncontrolled Resource Consumption
  • CWE-405: Asymmetric Resource Consumption (Amplification)
  • CWE-407: Inefficient Algorithmic Complexity

Source file

npm/decode-uri-component/CVE-2026-45822.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:36 +0000.