Skip to content
OpenAdvisories

Description

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, when serialize(), normalize(), or resolve() are called with the non-default option reference set to suffix on a reference that has no authority, the emitted relative reference can contain a bare colon in its first path segment without escaping it, even though RFC 3986 forbids that because it makes the string reparse as an absolute URI with a scheme. An application that serializes or normalizes a relative reference with the suffix option and then treats the result as a URI can turn inert input into a live javascript, data, or vbscript URL, a cross-site scripting vector, and the equal() comparison can conflate a scheme-bearing reference with a relative one. Exposure is limited to applications using the non-default suffix reference option. 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, avoid the suffix reference option on untrusted input, or percent-encode a colon in the first path segment of the result before treating it as a URI.

Affected products

VendorProductAffectedFixed
fast-uri fast-uri < 2.4.8, 3.0.0 – < 3.1.9, 4.0.0 – < 4.2.3 2.4.8

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-ajv 8.20.0~ds+~cs7.2.4-1 —
Debian 13 node-ajv No fix yet —
Debian 12 node-ajv No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-ajv No fix yet —
Ubuntu 26.04 LTS node-ajv No fix yet —
Ubuntu 24.04 LTS node-ajv No fix yet —
Ubuntu 22.04 LTS node-ajv No fix yet —
Ubuntu 20.04 LTS node-ajv No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS node-ajv No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 grafana12.4 12.4.13-0.4.hum1 RHSA-2026:91292, RHSA-2026:90388
Red Hat Hardened Images 1 grafana13.1 13.1.8-0.5.hum1 RHSA-2026:91181
Red Hat Hardened Images 1 grafana13.2 13.2.4-0.4.hum1 RHSA-2026:90990
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed agama-web-ui 25+475.275dd4727-56.1 openSUSE-SU-2026:12424-1
openSUSE Tumbleweed git-bug 0.11.0-3.1 openSUSE-SU-2026:12261-1
openSUSE Tumbleweed modelcontextprotocol-servers 2.4.0-1.1 openSUSE-SU-2026:12531-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling opensearch-dashboards-3-dashboards-maps +11 3.9.0-r4 —
Wolfi rolling prism 5.16.0-r20 —
Wolfi rolling renovate 44.190.2-r0 —
Wolfi rolling serve 14.2.6-r9 —
Wolfi rolling tileserver-gl 5.6.0-r21 —
Wolfi rolling vitess-24 24.0.5-r6 —
Wolfi rolling yaml-language-server 2.0.0-r2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm fast-uri < 2.4.8 2.4.8 GHSA-333x-w4r6-6crp
npm fast-uri >= 3.0.0, < 3.1.9 3.1.9 GHSA-333x-w4r6-6crp
npm fast-uri >= 4.0.0, < 4.2.3 4.2.3 GHSA-333x-w4r6-6crp

Advisories 7

References