Vulnerability library
Security checkSeptember 29, 2026

fast-uri vulnerable to mailto header injection via percent-encoded field-name desynchronization

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’s mailto scheme parser compares each query field name to the reserved names (to, subject, body) while the name is still percent-encoded, and only percent-decodes it when storing it as a generic header.

Recommendation

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

  • Affected version(s): >= 4.1.3, < 4.1.5
  • Patched version(s): 4.1.5

References

Could your website be exposed too?

SmartScanner can check your website for fast-uri vulnerable to mailto header injection via percent-encoded field-name desynchronization and gives you actionable findings to investigate.

Start a free scan

Related Issues

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