fast-uri
4.2.3 · 19 Oct 2026BSD-3-Clause227.8M / weekRepositorynpmAtom feed
47 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 4.x · latest line
4.2.3
19 Oct 2026- 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
This security release fixes four URI parsing and normalization vulnerabilities in fast-uri 4.x. Applications that process untrusted URI input should upgrade to v4.2.3.
- 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.
Upgrade with:
npm install fast-uri@4.2.3
4.2.2
10 Oct 2026Reject invalid URI reference edges
Encode invalid host characters
Preserve dot segments in URN namespace strings
What's Changed
Reject invalid URI reference edges
Encode invalid host characters
Preserve dot segments in URN namespace strings
4.2.1
18 Sep 2026Make mailto normalization idempotent for authority recipients
4.2.0
18 Sep 2026Keep IPv6 zone identifiers stable across parse/normalize/serialize/equal
What's Changed
Keep IPv6 zone identifiers stable across parse/normalize/serialize/equal
4.1.5
15 Sep 2026- Security
GHSA-jvvf-x445-j334 —
mailtoheader injection via percent-encoded field-name desynchronization - Security
GHSA-hrr3-gc8f-f4qj — inconsistent host case normalization via percent-encoded octets
Security Warning
This security release fixes the following medium-severity security advisories:
- Security
GHSA-jvvf-x445-j334 —
mailtoheader injection via percent-encoded field-name desynchronization - Security
GHSA-hrr3-gc8f-f4qj — inconsistent host case normalization via percent-encoded octets
Users of the v4 release line should upgrade to v4.1.5.
4.1.4
2 Sep 2026- 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 Warning
This is a security release that fixes the following high-severity security advisories:
- 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
Users of the v4 release line should upgrade to v4.1.4.
4.1.3
23 Aug 2026- 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 Warning
This release addresses the following high-severity security advisories:
- 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
Users of the v4 release line should upgrade to v4.1.3.
4.1.2
31 Jul 2026Security Warning
4.1.1
18 Jul 20264.1.0
29 Jun 2026Normalize percent-encoding in query and fragment (RFC 3986 §6.2.2)
Preserve trailing empty path segment in removeDotSegments (RFC 3986 §5.2.4)
4.0.1
29 Jun 2026- Security
Normalize scheme to lowercase (RFC 3986 §6.2.2.1)
Security Release
- Security
What's Changed
Normalize scheme to lowercase (RFC 3986 §6.2.2.1)
4.0.0
9 Jun 2026Escape bug
What's Changed
Escape bug
- 3.x
3.1.9
19 Oct 2026- 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
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.
- 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.
Upgrade with:
npm install fast-uri@3.1.9
3.1.8
15 Sep 2026- Security
GHSA-hrr3-gc8f-f4qj — inconsistent host case normalization via percent-encoded octets
Security Warning
This security release fixes the following medium-severity security advisory:
- Security
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.
3.1.7
2 Sep 2026- 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 Warning
This is a security release that fixes the following high-severity security advisories:
- 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
Users of the v3.x release line should upgrade to v3.1.7.
3.1.6
23 Aug 2026- 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 Warning
This release addresses the following high-severity security advisories:
- 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
Users of the v3.x release line should upgrade to v3.1.6.
3.1.5
31 Jul 20263.1.4
19 Jul 20263.1.3
29 Jun 2026- Security
3.1.2
5 May 2026- Security
Handle malformed fragment decoding as a parse error
3.1.1
4 May 2026- Security
Security Release
- Security
3.1.0
25 Aug 2025chore(test) remove .gitkeep
lib/utils: Simpler algorithm for removeDotSegments
ipv4 is never normalized
What's Changed
chore(test) remove .gitkeep
lib/utils: Simpler algorithm for removeDotSegments
ipv4 is never normalized
Add browser testing
Update README.md
lib/schemes/urn: Check nid for undefined
3.0.6
20 Jan 2025Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.
3.0.5
6 Jan 2025Ensure node support since node 10
3.0.4
5 Jan 2025lib/utils: Cache ipv4 regex
index: Use optional chaining
What's Changed
lib/utils: Cache ipv4 regex
index: Use optional chaining
3.0.3
15 Oct 2024Correctly set license to BSD-3-Clause in package.json
3.0.2
26 Sep 2024Use
tapeindex: Merge concurrent
array.pushcallsProperly parse userinfo in uri
What's Changed
Use
tapeindex: Merge concurrent
array.pushcallsProperly parse userinfo in uri
3.0.1
27 Jun 2024Fix
urijsfragment handling incompatibility
3.0.0
23 Jun 2024Skip nonSimpleDomain when it is an IP
Improve stringToHexStripped
Add uri-js tests
What's Changed
Skip nonSimpleDomain when it is an IP
Improve stringToHexStripped
Add uri-js tests
Merge
nextintomain
- 2.x
2.4.8
19 Oct 2026- 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
This security release fixes four URI parsing and normalization vulnerabilities in fast-uri 2.x. Applications that process untrusted URI input should upgrade to v2.4.8.
- 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.
Upgrade with:
npm install fast-uri@2.4.8
2.4.7
15 Sep 2026- Security
GHSA-hrr3-gc8f-f4qj — inconsistent host case normalization via percent-encoded octets
Security Warning
This security release fixes the following medium-severity security advisory:
- Security
GHSA-hrr3-gc8f-f4qj — inconsistent host case normalization via percent-encoded octets
Users of the v2.x release line should upgrade to v2.4.7.
2.4.6
2 Sep 2026- 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 Warning
This is a security release that fixes the following high-severity security advisories:
- 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
Users of the v2.x release line should upgrade to v2.4.6.
2.4.5
23 Aug 2026- 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 Warning
This release addresses the following high-severity security advisories:
- 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
Users of the v2.x release line should upgrade to v2.4.5.
2.4.4
31 Jul 20262.4.3
19 Jul 20262.4.2
17 Jul 2026- Security
Backport GHSA-4c8g-83qw-93j6 IDN host canonicalisation to v2.x
2.4.1
17 Jul 2026- Security
Backport GHSA-q3j6-qgpj-74h6 and GHSA-v39h-62p7-jpjc to v2.x
Skip nonSimpleDomain when it is an IP
Improve stringToHexStripped
What's Changed
Skip nonSimpleDomain when it is an IP
Improve stringToHexStripped
Add uri-js tests
- Security
Backport GHSA-q3j6-qgpj-74h6 and GHSA-v39h-62p7-jpjc to v2.x
2.4.0
10 Jun 2024Improve compatibility with uri-js
2.3.1
5 Jun 2024Do not use node's URL module
What's Changed
Do not use node's URL module
2.3.0
30 Oct 2023Avoid domainToAscii on pure lowercase ascii cases
Use
node:prefix to bypass require.cache call for builtinsindex: Convert unused capture groups to non-capture groups
What's Changed
Avoid domainToAscii on pure lowercase ascii cases
Use
node:prefix to bypass require.cache call for builtinsindex: Convert unused capture groups to non-capture groups
2.2.0
5 Dec 2022LGTM-Alert: Remove unused parameters
Unused IE fix path
readme: CI badge reference
What's Changed
LGTM-Alert: Remove unused parameters
Unused IE fix path
readme: CI badge reference
Nodenext compatibility
2.1.0
10 Jun 2022Skip colon encoding when schema exists
What's Changed
Skip colon encoding when schema exists
2.0.0
25 May 2022Only updates dependencies:tap 16.0.0tsd 0.20.0standard 17.0.0
- 1.x
1.0.1
5 Feb 2022Fragment encoding
What's Changed
Fragment encoding
1.0.0
21 Jan 2022- 0.0.x
0.0.2
21 Jan 2022benchmark: Add WHATWG
Types
Search query should not be decoded
What's Changed
benchmark: Add WHATWG
Types
Search query should not be decoded
0.0.1
12 Dec 2021Initial Commit
Speed improvement
Urn support
What's Changed
Initial Commit
Speed improvement
Urn support
Faster URN
Minor improvements
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.