Vulnerability library
Security checkOctober 23, 2026

fast-uri vulnerable to scheme injection via an unescaped first-segment colon in suffix references

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

Low 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’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.

Recommendation

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

  • Affected version(s): **>= 4.0.0, < 4.2.3 >= 3.0.0, < 3.1.9 < 2.4.8**
  • Patched version(s): **4.2.3 3.1.9 2.4.8**

References

Could your website be exposed too?

SmartScanner can check your website for fast-uri vulnerable to scheme injection via an unescaped first-segment colon in suffix references and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 23, 2026