CVE-2026-33172
Stored XSS in Statamic SVG Uploads Allows Script Injection
Publication date: 2026-03-20
Last updated on: 2026-03-23
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| statamic | statamic | to 5.73.14 (exc) |
| statamic | statamic | From 6.0.0 (inc) to 6.7.0 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a stored Cross-Site Scripting (XSS) issue in the Statamic content management system. It occurs when authenticated users who have permission to upload assets reupload SVG files. These SVG files bypass the sanitization process, allowing the injection of malicious JavaScript code. This malicious code then executes when the SVG asset is viewed.
How can this vulnerability impact me? :
The vulnerability can lead to the execution of malicious JavaScript in the context of users viewing the compromised SVG assets. This can result in unauthorized actions such as stealing user credentials, session hijacking, or performing actions on behalf of the user. Since the vulnerability allows code injection with high impact on confidentiality and integrity, it poses a significant security risk.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, immediately upgrade Statamic to version 5.73.14 or 6.7.0 or later, where the stored XSS vulnerability in SVG asset reuploads has been fixed.
Additionally, restrict asset upload permissions to trusted users only, as the vulnerability requires authenticated users with asset upload permissions.