Vulnerability library
Security checkOctober 29, 2026

decode-uri-component vulnerable to denial of service via quadratic replacement of percent-encoded runs

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

decodeUriComponent() takes quadratic time on malformed input that has many distinct percent-encoded runs. A single unauthenticated request of about 224 KB can block the Node.js event loop for about 20 seconds. Version 0.5.0, the release that fixed CVE-2026-45822, is affected.

Recommendation

Update the decode-uri-component package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 0.5.0
  • Patched version(s): 0.5.1

References

Could your website be exposed too?

SmartScanner can check your website for decode-uri-component vulnerable to denial of service via quadratic replacement of percent-encoded runs and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 29, 2026