Intel

AIKIDO-2026-653298

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

GHSA-q2r9-975x-mq28Published Oct 14, 2026
October 14, 2026

61

CVE Score

Medium

Cross-Site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

Uploaded SVG assets can retain content that causes a browser to run scripts when someone opens the stored file. A user who can upload assets, including through frontend forms, can embed scripts that run in the session of anyone who opens the file, such as a Control Panel user. The fix does not reprocess stored SVG assets. The fix blocks more unsafe SVG content and updates the dom-sanitizer dependency.

How do I fix this?

Upgrade the statamic/cms library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you accept SVG asset uploads.

Versions

0.0.1 - 5.74.4

Fixed in 5.74.5

6.0.0 - 6.35.0

Fixed in 6.35.1

Background info

statamic/cms is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 5.74.4 and 6.0.0 - 6.35.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea