Vulnerability library
Security checkSeptember 29, 2026

fast-uri vulnerable to inconsistent host case normalization via percent-encoded octets

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmfast-uri

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

fast-uri folds the host to lowercase before it percent-decodes the host, so a percent-encoded uppercase unreserved octet such as %41 decodes to a literal A that is never folded. For a scheme-relative reference (//host) there is no scheme, so the host canonicalization that repairs this on a scheme-bearing URL does not run.

Recommendation

Update the fast-uri package to the latest compatible version. Followings are version details:

  • Affected version(s): **>= 4.0.0, < 4.1.5 >= 3.0.0, < 3.1.8 < 2.4.7**
  • Patched version(s): **4.1.5 3.1.8 2.4.7**

References

Could your website be exposed too?

SmartScanner can check your website for fast-uri vulnerable to inconsistent host case normalization via percent-encoded octets and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated September 29, 2026