Vulnerability library
Security checkMarch 21, 2024

Strapi 4.1.12 Cross-site Scripting via crafted file

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

Medium severitynpm@strapi/strapi

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

An unrestricted file upload vulnerability in the Add New Assets function of Strapi v4.1.12 allows attackers to execute arbitrary code via a crafted file. After an authenticated attacker uploads a file containing a malicious URL, a victim copies and pastes the malicious URL into a new tab to receive the XSS payload.

Recommendation

No fix is available yet. Followings are affected versions:

  • <= 4.1.12

References

Could your website be exposed too?

SmartScanner can check your website for Strapi 4.1.12 Cross-site Scripting via crafted file and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated March 21, 2024