fast-uri
4.2.3 · 19 Oct 2026BSD-3-Clause227.8M / weekRepositorynpmAtom feed
Upgrading fast-uri From 1.0.1 to 2.4.8
14 releases in betweenevery note read
Reading releases, release notes and advisories…
- ?
- changes to make
- 8
- advisories fixed
- 5
- new
- 5
- fixes
Security
Fixes 8 advisories affecting 1.0.1
- fast-uri vulnerable to scheme injection via an unescaped first-segment colon in suffix referenceslow · GHSA-333x-w4r6-6crp
- fast-uri vulnerable to host confusion via backslash authority introducerhigh · GHSA-7p8r-x3mc-p8w7
- fast-uri vulnerable to inconsistent host case normalization via percent-encoded octetsmoderate · GHSA-hrr3-gc8f-f4qj
- fast-uri vulnerable to path traversal via percent-encoded dot segmentshigh · GHSA-q3j6-qgpj-74h6
- fast-uri vulnerable to authority injection via an unvalidated port in serializehigh · GHSA-qw65-cvwx-89v3
- fast-uri vulnerable to host confusion via percent-encoded authority delimitershigh · GHSA-v39h-62p7-jpjc
- fast-uri vulnerable to URI scheme spoofing via percent-encoded scheme decodingmoderate · GHSA-w74x-v6f9-j3xg
- fast-uri vulnerable to improper path equivalence in relative reference normalizationlow · GHSA-xhq7-xmqj-769h
- 2.4.8
This security release fixes four URI parsing and normalization vulnerabilities in fast-uri 2.x.
- 2.4.8
Medium — URI scheme spoofing through percent-encoded schemes (GHSA-w74x-v6f9-j3xg, CVE-2026-110306): percent-encoded scheme input is now rejected instead of being decoded into a live scheme.
- 2.4.8
Medium — Host confusion during domain-host canonicalization (GHSA-wjr9-j795-jxcr, CVE-2026-110180): malformed domain hosts containing ambiguous delimiters or stripped control characters are now rejected instead of being silently rewritten.
- 2.4.8
Low — Incorrect relative-reference normalization (GHSA-xhq7-xmqj-769h, CVE-2026-110095): dot-segment removal now preserves the resolution semantics of relative references.
- 2.4.8
Low — Scheme injection in suffix references (GHSA-333x-w4r6-6crp, CVE-2026-110725): first-segment colons in path-only suffix references are now escaped so the output is not reparsed as a scheme.
- 2.4.7
GHSA-hrr3-gc8f-f4qj — inconsistent host case normalization via percent-encoded octets
- 2.4.6
GHSA-qw65-cvwx-89v3 — authority injection via an unvalidated port in
serialize() - 2.4.6
GHSA-58mr-gqgx-xq4g — host confusion via unbalanced or misplaced IP-literal brackets
- 2.4.5
GHSA-5jgf-p345-68v8 — host confusion via skipped IDN canonicalization on scheme-relative references
- 2.4.5
GHSA-fph4-wmhf-6fwf — server-side request forgery via repeated hostname percent-decoding
Release by release
- Security
This security release fixes four URI parsing and normalization vulnerabilities in fast-uri 2.x.
- Security
Medium — URI scheme spoofing through percent-encoded schemes (GHSA-w74x-v6f9-j3xg, CVE-2026-110306): percent-encoded scheme input is now rejected instead of being decoded into a live scheme.
- Security
Medium — Host confusion during domain-host canonicalization (GHSA-wjr9-j795-jxcr, CVE-2026-110180): malformed domain hosts containing ambiguous delimiters or stripped control characters are now rejected instead of being silently rewritten.
- Security
Low — Incorrect relative-reference normalization (GHSA-xhq7-xmqj-769h, CVE-2026-110095): dot-segment removal now preserves the resolution semantics of relative references.
- Security
Low — Scheme injection in suffix references (GHSA-333x-w4r6-6crp, CVE-2026-110725): first-segment colons in path-only suffix references are now escaped so the output is not reparsed as a scheme.
- Security
- Security
GHSA-hrr3-gc8f-f4qj — inconsistent host case normalization via percent-encoded octets
- Security
- Security
GHSA-qw65-cvwx-89v3 — authority injection via an unvalidated port in
serialize() - Security
GHSA-58mr-gqgx-xq4g — host confusion via unbalanced or misplaced IP-literal brackets
- Security
- Security
GHSA-5jgf-p345-68v8 — host confusion via skipped IDN canonicalization on scheme-relative references
- Security
GHSA-fph4-wmhf-6fwf — server-side request forgery via repeated hostname percent-decoding
- Security
GHSA-f65p-4m7j-42xc — server-side request forgery via malformed IPv6 normalization
- Security
GHSA-jqff-g426-hqxp — host confusion via percent-encoded scheme normalization
- Security
- Security
- Security
- Security
Backport GHSA-4c8g-83qw-93j6 IDN host canonicalisation to v2.x
- Security
- Security
Backport GHSA-q3j6-qgpj-74h6 and GHSA-v39h-62p7-jpjc to v2.x
- New
Improve stringToHexStripped
- New
Add uri-js tests
- Fixed
Skip nonSimpleDomain when it is an IP
- Security
3 other lines we could not sort, mostly version bumps
- 2.4.0
Improve compatibility with uri-js
- 2.2.0
LGTM-Alert: Remove unused parameters
- 2.2.0
Nodenext compatibility
38 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.