Improper Validation of Specified Quantity in Input Affecting org.webjars.npm:fast-uri package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.26% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-21279307
  • published20 Oct 2026
  • disclosed20 Oct 2026
  • creditzekth

Introduced: 20 Oct 2026

NewCVE-2026-110180  (opens in a new tab)
CWE-1284  (opens in a new tab)

How to fix?

There is no fixed version for org.webjars.npm:fast-uri.

Overview

org.webjars.npm:fast-uri is a Dependency-free RFC 3986 URI toolbox

Affected versions of this package are vulnerable to Improper Validation of Specified Quantity in Input via canonicalizeHost(), which passes the host directly to new URL('http://' + host) without verifying that the WHATWG parser consumed the entire input as a host. Because the RFC 3986 parser permits @ in the host component, and the WHATWG parser silently strips TAB, LF, and CR, an attacker can supply a URI whose authority is rewritten by the second parser with no error. This allows host spoofing across parse(), normalize(), equal(), and resolve() - for example, parse('http://a@b@evil.com/').host returns 'evil.com' and normalize('http://ev\til.com/p') returns 'http://evil.com/p'.

CVSS Base Scores

version 4.0
version 3.1