Vulnerability library
Security checkOctober 07, 2026

Payload: Uploaded XML files could execute same-origin JavaScript

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

Under certain local upload configurations, an uploaded XML file and stylesheet could execute JavaScript in the Payload origin when a logged-in user opens the file.

You are affected if:

  • You accept XML uploads (accepted by default).

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: Uploaded XML files could execute same-origin JavaScript and gives you actionable findings to investigate.

Start a free scan

Related Issues

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