Sourced from fast-uri's releases.
v3.1.9
Security
This security release fixes four URI parsing and normalization vulnerabilities in fast-uri 3.x. Applications that process untrusted URI input should upgrade to v3.1.9.
- 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.
- 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.
- Low — Incorrect relative-reference normalization (GHSA-xhq7-xmqj-769h, CVE-2026-110095): dot-segment removal now preserves the resolution semantics of relative references.
- 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.
Upgrade with:
npm install fast-uri@3.1.9Thanks to
@zekthfor reporting the scheme, host, and relative-reference issues, and to@UlisesGasconfor finding the suffix-reference issue and reviewing the remediations.What's Changed
- ci: enable trusted publishing releases (v3.x) by
@mcollinain fastify/fast-uri#229Full Changelog: https://github.com/fastify/fast-uri/compare/v3.1.8...v3.1.9
v3.1.8
⚠️ Security Warning
This security release fixes the following medium-severity security advisory:
- GHSA-hrr3-gc8f-f4qj — inconsistent host case normalization via percent-encoded octets
Users of the v3.x release line should upgrade to v3.1.8.
Full Changelog: https://github.com/fastify/fast-uri/compare/v3.1.7...v3.1.8
0def703
Bumped v3.1.9a1d0da2
test: generate only relative path references9eb8759
fix: preserve relative paths in suffix and relative resolution54c30f7
docs: note suffix-reference authority ambiguity39e6493
fix: escape a first-segment colon in suffix references745183c
test: cover first-segment colon in suffix referencesddfc6a5
fix(SEC-03): reject non reg-name characters in domain hostsd86a8d2
fix: keep a colon-first segment behind "./" in relative
normalizationeb483b5
test: cover colon-first relative references in normalizationb110a35
fix(SEC-02): preserve meaning of relative references during
normalizationThis version was pushed to npm by GitHub Actions, a new releaser for fast-uri since your current version.