Skip to content
OpenAdvisories

Package · npm

decode-uri-component

3 known vulnerabilities.

3 results · Feed

  • High 8.2

    decode-uri-component: Denial of service via quadratic replacement of percent-encoded runs

    decode-uri-component provides a more robust alternative to decodeURIComponent. Prior to 0.5.1, decodeUriComponent in index.js falls back to customDecodeURIComponent after native decoding throws, and the fallback collects every distinct percent-encoded run bef…

  • Medium 6.6

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

    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 appro…

  • High 7.5
    CVE-2022-38900 EPSS 23%

    decode-uri-component vulnerable to Denial of Service (DoS)

    decode-uri-component 0.2.0 is vulnerable to Improper Input Validation resulting in DoS.