Intel

AIKIDO-2024-10382

statamic/cms is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS)CVE-2024-24570 Published Oct 29, 2024

80

High Risk

This Affects:

phpstatamic/cms
3.4.0 - 4.45.0
Fixed in 4.46.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). When uploading an SVG file, the file is not properly sanitized, allowing potentially dangerous content to be embedded. This can lead to the execution of malicious scripts in the user's browser, compromising the security of the application.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

statamic/cms is vulnerable to Cross-site Scripting (XSS) in versions 3.4.0 - 4.45.0.

How to fix this

Upgrade the statamic/cms library to the patch version.