Skip to main content

fast-uri CVE-2026-110306

| EUVDEUVD-2026-104814 MEDIUM
Encoding Error (CWE-172)
2026-10-20 ce714d77-add3-4f53-aff5-83d477b104bb GHSA-w74x-v6f9-j3xg
6.1
CVSS 3.1 · Vendor: ce714d77-add3-4f53-aff5-83d477b104bb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft URL with percent-encoded dangerous scheme
  2. Delivery
    Submit to app that blocklists raw scheme
  3. Exploit
    fast-uri normalizes to live javascript/data/vbscript URL
  4. Execution
    Payload stored or reflected into page
  5. Persist
    Victim renders or clicks link
  6. Impact
    Script executes in victim browser

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Exploitation requires a consuming application that (1) uses fast-uri to parse/normalize/resolve a URL, (2) screens for dangerous schemes against the RAW input string, and then (3) stores or renders the normalized/resolved output (or relies on fast-uri's equal() for allowlist comparison). The concrete trigger is an input whose scheme component contains a percent sign that decodes to javascript, data, or vbscript. Limiting factors: the victim must render or click the resulting URL (UI:R), so it is not fully automatic; applications that validate the parsed/normalized scheme against an allowlist (rather than the raw string), or that reject any scheme containing '%', are not affected; and the flaw is inert in library usage that never emits the normalized scheme into an HTML/URL sink.

Impact

This is a genuine but moderate-priority web-security issue rather than a critical infrastructure flaw. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N = 6.1, Medium) is internally consistent with a cross-site scripting outcome: network reachable, low complexity, no privileges, but requiring user interaction (victim must render/click the malicious URL), with a scope change (the injected script executes in the victim's browser, a different component) and only Low confidentiality/integrity impact and no availability impact. CWE-172 (Encoding Error) accurately captures the root cause - percent-decoding the scheme via legacy unescape() before validation. No EPSS score, CISA KEV listing, POC reference, or SSVC decision data was provided in the input, so exploitation status is: no public exploit identified at time of analysis. Critically, this is a LIBRARY defect whose real-world impact is fully conditional on consuming-application behavior (screening raw input, then trusting the normalized/resolved output) - the library alone is not directly exploitable, which tempers the raw CVSS-derived risk. Treat as a dependency-hygiene patch priority, not an emergency, absent evidence of a vulnerable usage pattern in your own code.

Exploit ScenarioDerived

An attacker submits a URL whose scheme is percent-encoded (e.g. the decoded form resolves to "javascript") to an application that blocklists dangerous schemes on the raw string but then stores or renders the fast-uri-normalized/resolved result. Because the raw input does not visually match a dangerous scheme, it passes the filter, but normalization emits a live javascript:, data:, or vbscript: URL; when a victim later views or clicks it (UI:R), script executes in their browser as stored or reflected XSS. No public exploit code was identified in the provided intelligence.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 20, 2026

Percent-encoded scheme normalization in fast-uri before 2.4.8, in 3.0.0 through 3.1.8, and in 4.0.0 through 4.2.2 can convert an input that raw-string filters consider inert into a live javascript, data, or vbscript URL. Applications that parse, normalize, or resolve a URL with fast-uri, screen dangerous schemes using the raw input, and then store or render the normalized/resolved result-or use equal() for equality-based allowlists-can be exposed to stored or reflected cross-site scripting. Exploitation requires victim interaction (UI:R), and no public exploit identified at time of analysis; KEV status is not indicated.

RemediationAI

Vendor-released patch: fast-uri 2.4.8, 3.1.9, and 4.2.3. Upgrade to the applicable fixed version or later; see the GitHub advisory at https://github.com/fastify/fast-uri/security/advisories/GHSA-w74x-v6f9-j3xg and the OpenJS Foundation advisory page at https://cna.openjsf.org/security-advisories.html. If immediate upgrade is not possible, reject any input whose scheme component contains a percent sign before parsing, or validate the parsed/normalized scheme against an explicit allowlist and use that same parsed result for storage, rendering, and equality checks rather than the raw string. These workarounds carry low compatibility cost for RFC 3986-compliant inputs, but they require application changes and do not fix the underlying parsing behavior, so upgrading remains the primary remediation.

Affected VersionsENISA

fast-uri 3.0.0 <3.1.9
fast-uri 4.0.0 <4.2.3
fast-uri 0 <2.4.8

Affected Packages

npm fast-uri fix: 2.4.8, 3.1.9, 4.2.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

fast-uri is a dependency-free RFC 3986 URI parser and serializer for Node.js. The flaw is an encoding-handling error (CWE-172): the library percent-decodes the scheme component with the legacy global unescape() function before validating it. RFC 3986 does not permit percent-encoding in the scheme, and other parsers do not accept such input, but fast-uri emits the decoded dangerous token as a live scheme. The equal() comparison also treats an encoded scheme and its plain equivalent as identical, which can undermine allowlists that rely on equality after parsing. The issue is specific to consuming applications that trust fast-uri's normalized or resolved scheme output without re-validating it against an allowlist; library usage that never emits the normalized scheme into an HTML or URL sink remains inert. No CPE strings were supplied in the available data.

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (ce714d77-add3-4f53-aff5-83d477b104bb) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Remote unauthenticated injection (AV:N/AC:L/PR:N) requires the victim to render the crafted URL (UI:R); script runs in the victim browser, a separate component (S:C), with Low C/I and no availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Red Hat 6.1 MEDIUM

Primary rating from Vendor (ce714d77-add3-4f53-aff5-83d477b104bb).

CVSS VectorVendor: ce714d77-add3-4f53-aff5-83d477b104bb

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Oct 20, 2026 - 08:01 EUVD
CVE Published
Oct 20, 2026 - 07:17 cve.org
MEDIUM 6.1

DescriptionCVE.org

fast-uri is a dependency-free RFC 3986 URI parser and serializer for Node.js. In versions before 2.4.8, from 3.0.0 through 3.1.8, and from 4.0.0 through 4.2.2, fast-uri percent-decodes the scheme component with the legacy global unescape() function before validating it, so an input whose decoded scheme is a dangerous token is emitted as a live scheme even though RFC 3986 does not allow percent-encoding in a scheme and no other parser accepts it. An application that screens dangerous schemes on the raw input and then stores or renders the normalized or resolved result can turn an inert string into an executable javascript, data, or vbscript URL, producing a stored or reflected cross-site scripting vector, and the equal() comparison treats an encoded and a plain scheme as the same, which can bypass equality-based allowlists. The issue is fixed in fast-uri 2.4.8, 3.1.9, and 4.2.3, and users should upgrade to one of these versions or later. As a workaround, reject input whose scheme part contains a percent sign, or check the parsed scheme against an allowlist after normalization and use that same parsed result rather than the raw string.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
High
very widely used Node.js URI parser, transitive dependency across Fastify/ajv ecosystem
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2013-4660 MEDIUM POC
6.8 Jun 28

The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, whic

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy