Impact
fast-uri’s serialize, normalize, or resolve functions can emit a relative reference that contains an unescaped colon in its first path segment when the reference option is set to suffix. That colon is interpreted as a scheme by the URI parser, turning benign user input into a live javascript:, data:, or vbscript: URL. When the resulting string is treated as a URI, it can execute client‑side code or trigger a cross‑site scripting attack.
Affected Systems
The flaw affects fast‑uri versions earlier than 2.4.8; in the 3.x series before 3.1.9; and in the 4.x series before 4.2.3. Any Node.js application that imports fast‑uri and calls serialize, normalize, or resolve with the suffix reference option on untrusted data is vulnerable.
Risk and Exploitability
The CVSS score of 3.7 indicates moderate risk, but the EPSS is below 1% and the flaw is not listed in the CISA KEV catalog, pointing to a low probability of current exploitation. Nevertheless, the vulnerability can create executable URLs, making it attractive to attackers who control web content or application input. The attack surface is limited to code that uses the non‑default suffix reference option, so remediation can be targeted.
OpenCVE Enrichment