{"schema":"threatline.record/2","record":{"id":"CVE-2026-110725","aliases":["GHSA-333x-w4r6-6crp"],"summary":"fast-uri vulnerable to scheme injection via an unescaped first-segment colon in suffix references","details":"### Impact\n\n`fast-uri`'s `serialize()`, `normalize()`, and `resolve()`, when called with the non-default option `reference: 'suffix'` on a reference that has no authority, emit a relative reference whose first path segment contains a bare colon without escaping it. RFC 3986 section 3.3 requires the first segment of a `path-noscheme` reference not to contain a colon, precisely because a bare colon makes the string reparse as an absolute URI with a scheme. `fast-uri`'s default serialization escapes that colon, but the suffix path does not.\n\nFor example, `normalize('javascript:alert(1)', { reference: 'suffix' })` returns `javascript:alert(1)`, which reparses as a live `javascript:` scheme; `data:` and `vbscript:` behave the same.\n\nApplications that serialize or normalize a relative reference with `reference: 'suffix'` and then treat the result as a URI can turn inert input into a live `javascript:`, `data:`, or `vbscript:` URL (a cross-site scripting vector), and `equal()` can conflate a scheme-bearing reference with a relative one. Exposure is limited to applications that use the non-default `reference: 'suffix'` option.\n\n### Patches\n\nUpgrade to `fast-uri` `2.4.8`, `3.1.9`, or `4.2.3`.\n\n### Workarounds\n\nDo not use the `reference: 'suffix'` option on untrusted input. If suffix output is required, percent-encode a colon in the first path segment of the result before treating it as a URI.","categories":["Libraries & packages"],"product":"fast-uri","vendor":"fast-uri","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-333x-w4r6-6crp","source_modified_at":"2026-10-23T21:36:41Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"ecosystem":"npm","name":"fast-uri"},"range":"< 2.4.8"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-333x-w4r6-6crp","source_modified_at":"2026-10-23T21:36:41Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"ecosystem":"npm","name":"fast-uri"},"range":">= 3.0.0, < 3.1.9"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-333x-w4r6-6crp","source_modified_at":"2026-10-23T21:36:41Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"ecosystem":"npm","name":"fast-uri"},"range":">= 4.0.0, < 4.2.3"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-110725","source_modified_at":"2026-10-20T19:14:41.685Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"fast-uri","vendor":"fast-uri","versions":[{"lessThan":"2.4.8","status":"affected","version":"0","versionType":"semver"},{"status":"unaffected","version":"2.4.8","versionType":"semver"},{"lessThan":"3.1.9","status":"affected","version":"3.0.0","versionType":"semver"},{"status":"unaffected","version":"3.1.9","versionType":"semver"},{"lessThan":"4.2.3","status":"affected","version":"4.0.0","versionType":"semver"},{"status":"unaffected","version":"4.2.3","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-333x-w4r6-6crp","source_modified_at":"2026-10-23T21:45:04.900311356Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"name":"fast-uri","ecosystem":"npm","purl":"pkg:npm/fast-uri"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.4.8"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-333x-w4r6-6crp","source_modified_at":"2026-10-23T21:45:04.900311356Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"name":"fast-uri","ecosystem":"npm","purl":"pkg:npm/fast-uri"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.1.9"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-333x-w4r6-6crp","source_modified_at":"2026-10-23T21:45:04.900311356Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"name":"fast-uri","ecosystem":"npm","purl":"pkg:npm/fast-uri"},"ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0"},{"fixed":"4.2.3"}]}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-333x-w4r6-6crp","source_modified_at":"2026-10-23T21:36:41Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"ecosystem":"npm","name":"fast-uri"},"version":"2.4.8"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-333x-w4r6-6crp","source_modified_at":"2026-10-23T21:36:41Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"ecosystem":"npm","name":"fast-uri"},"version":"3.1.9"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-333x-w4r6-6crp","source_modified_at":"2026-10-23T21:36:41Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"ecosystem":"npm","name":"fast-uri"},"version":"4.2.3"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-110725","source_modified_at":"2026-10-20T19:14:41.685Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"fast-uri","ecosystem":null},"version":"2.4.8","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-110725","source_modified_at":"2026-10-20T19:14:41.685Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"fast-uri","ecosystem":null},"version":"3.1.9","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-110725","source_modified_at":"2026-10-20T19:14:41.685Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"fast-uri","ecosystem":null},"version":"4.2.3","basis":"first unaffected version stated in the CVE record"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-333x-w4r6-6crp","source_modified_at":"2026-10-23T21:45:04.900311356Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"name":"fast-uri","ecosystem":"npm","purl":"pkg:npm/fast-uri"},"version":"2.4.8"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-333x-w4r6-6crp","source_modified_at":"2026-10-23T21:45:04.900311356Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"name":"fast-uri","ecosystem":"npm","purl":"pkg:npm/fast-uri"},"version":"3.1.9"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-333x-w4r6-6crp","source_modified_at":"2026-10-23T21:45:04.900311356Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"name":"fast-uri","ecosystem":"npm","purl":"pkg:npm/fast-uri"},"version":"4.2.3"}],"cvss":3.7,"severity":"Low","kev":{"listed":false},"epss":{"probability":0.00254,"percentile":0.16037,"score_date":"2026-10-23"},"published_at":"2026-10-20T07:06:29.946Z","modified_at":"2026-10-23T21:45:04.900311356Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-333x-w4r6-6crp","fetched_at":"2026-10-23T21:47:51.402276Z","source_modified_at":"2026-10-23T21:36:41Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-110725","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-20T19:14:41.685Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-333x-w4r6-6crp","fetched_at":"2026-10-23T21:47:51.402276Z","source_modified_at":"2026-10-23T21:45:04.900311356Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-110725","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/fastify/fast-uri/security/advisories/GHSA-333x-w4r6-6crp"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-110725","source":"GitHub Advisory Database"},{"url":"https://github.com/fastify/fast-uri/commit/39e6493c1356f30a0084171627eb266786e1620e","source":"GitHub Advisory Database"},{"url":"https://github.com/fastify/fast-uri/commit/a9b8d67353630aab053cd727cf629023dd018d2b","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://cna.openjsf.org/security-advisories.html"},{"url":"https://github.com/fastify/fast-uri/releases/tag/v2.4.8","source":"GitHub Advisory Database"},{"url":"https://github.com/fastify/fast-uri/releases/tag/v3.1.9","source":"GitHub Advisory Database"},{"url":"https://github.com/fastify/fast-uri/releases/tag/v4.2.3","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-333x-w4r6-6crp","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","assessed_at":"2026-10-20T19:14:33.067016Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-23T21:45:04.900311356Z","content_hash":"fe13ad7b06860925dbe1fe69ae9ab01728c316d66136d9e34783463a8d4806f3"}}
