Description
uri-js through 4.4.1 contains an improper UTF-8 decoding vulnerability in pctDecChars() that decodes invalid and overlong percent-encoded sequences into ASCII metacharacters. Attackers can craft percent-encoded payloads to bypass platform decoder validation and inject path traversal or CRLF sequences that downstream consumers process without filtering.
Severity (CVSS)
| Base score | 6.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-176 — Improper Handling of Unicode Encoding
Affected products
| Vendor | Product | Versions |
|---|---|---|
| garycourt | uri-js | 0 to <=4.4.1 |
References
- https://github.com/garycourt/uri-js/issues/106 (issue-tracking)
- https://github.com/garycourt/uri-js (product)
- https://github.com/garycourt/uri-js/blob/a1acf730b4bba3f1097c9f52e7d9d3aba8cdcaae/src/uri.ts#L103-L141 (technical-description)
- https://www.vulncheck.com/advisories/uri-js-through-4.4.1-improper-utf-8-decoding-via-pctdecchars (third-party-advisory)
Generated from the official CVE List on 19 Sep 2026 07:08 UTC.