Vulnerability library
Security checkOctober 07, 2026

Payload: Bypassed sanitization of user uploaded SVGs

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

High severitynpmpayload

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

A malicious SVG file upload could bypass sanitization, be stored, and execute attacker-controlled JavaScript (XSS) after a user downloads it and opens it.

You are affected if:

  • You have a collection configured to upload and allow SVG files which can then be downloaded by users.

Recommendation

Update the payload package to the latest compatible version. Followings are version details:

  • Affected version(s): **>= 4.0.0-canary.0, < 4.0.0-canary.34 < 3.90.0**
  • Patched version(s): **4.0.0-canary.34 3.90.0**

References

Could your website be exposed too?

SmartScanner can check your website for Payload: Bypassed sanitization of user uploaded SVGs and gives you actionable findings to investigate.

Start a free scan

Related Issues

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