Came across something in package-lock.json around line 4069 that looked worth flagging.
The vulnerability is real: fast-uri versions 2.3.1‑3.1.2 (and 4.0.0) fail to properly canonicalize Unicode IDN hostnames. The library’s IDN handling calls a helper that does not exist in the global URL constructor, leaving the host in its original Unicode form. This causes a mismatch between fast-uri’s normalize()/equal() results and what a WHATWG‑compatible parser (e.g., Node’s URL or fetch) would produce. Consequently, applications that enforce host‑based policies (denylists, loopback filters, redirect validation, outbound proxy routing) using fast-uri can be bypassed when the same URL later resolves to a different host after being processed by Node’s native parser. The fix is to upgrade fast-uri to a patched version (3.1.3 for the 3.x line, or 4.0.1 for the 4.x line).
Something like this might fix it:
--- a/package.json
+++ b/package.json
@@ -8,7 +8,7 @@
"dependencies": {
- "fast-uri": "3.1.2",
+ "fast-uri": "3.1.3",
"other-package": "^1.2.3"
}
For reference: rule CVE-2026-13676. Rated high.
I do not maintain this project, so I may well be missing context — if this is intentional or already handled elsewhere, please just close it.
Found with automated scanning (RedGem) and reviewed before opening. If it is not useful, closing it is completely fine.
Came across something in
package-lock.jsonaround line 4069 that looked worth flagging.The vulnerability is real: fast-uri versions 2.3.1‑3.1.2 (and 4.0.0) fail to properly canonicalize Unicode IDN hostnames. The library’s IDN handling calls a helper that does not exist in the global URL constructor, leaving the host in its original Unicode form. This causes a mismatch between fast-uri’s normalize()/equal() results and what a WHATWG‑compatible parser (e.g., Node’s URL or fetch) would produce. Consequently, applications that enforce host‑based policies (denylists, loopback filters, redirect validation, outbound proxy routing) using fast-uri can be bypassed when the same URL later resolves to a different host after being processed by Node’s native parser. The fix is to upgrade fast-uri to a patched version (3.1.3 for the 3.x line, or 4.0.1 for the 4.x line).
Something like this might fix it:
For reference: rule
CVE-2026-13676. Rated high.I do not maintain this project, so I may well be missing context — if this is intentional or already handled elsewhere, please just close it.
Found with automated scanning (RedGem) and reviewed before opening. If it is not useful, closing it is completely fine.