CVE-2026-33172: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in statamic cms
Statamic is a Laravel and Git powered content management system (CMS). Prior to versions 5.73.14 and 6.7.0, a stored XSS vulnerability in SVG asset reuploads allows authenticated users with asset upload permissions to bypass SVG sanitization and inject malicious JavaScript that executes when the asset is viewed. This has been fixed in 5.73.14 and 6.7.0.
AI Analysis
Technical Summary
CVE-2026-33172 is a stored cross-site scripting (XSS) vulnerability classified under CWE-79 that affects the Statamic content management system (CMS), which is built on Laravel and Git. The vulnerability exists in versions prior to 5.73.14 and 6.7.0 and specifically targets the SVG asset reupload functionality. Authenticated users who possess asset upload permissions can exploit this flaw by uploading SVG files containing malicious JavaScript payloads. Due to improper sanitization of SVG content during reuploads, the malicious script is not neutralized and executes in the context of users viewing the asset. This can lead to session hijacking, credential theft, or further exploitation within the CMS environment. The vulnerability requires authentication and user interaction (viewing the malicious SVG asset) but does not require elevated privileges beyond asset upload rights. The CVSS 3.1 base score of 8.7 reflects a high severity, with network attack vector, low attack complexity, privileges required, user interaction, and a scope change indicating that the vulnerability affects components beyond the initial vulnerable code. The impact on confidentiality and integrity is high, while availability is not affected. No public exploits have been reported yet, but the vulnerability is critical enough to warrant immediate patching. The fix was introduced in Statamic versions 5.73.14 and 6.7.0, which properly sanitize SVG uploads to prevent script injection.
Potential Impact
The exploitation of CVE-2026-33172 can have severe consequences for organizations using vulnerable versions of Statamic CMS. Attackers with authenticated access and asset upload permissions can inject malicious JavaScript that executes in the browsers of users viewing the compromised SVG assets. This can lead to theft of session tokens, user credentials, or execution of arbitrary actions on behalf of victims, potentially compromising administrative accounts and the CMS backend. The breach of confidentiality and integrity can result in unauthorized data disclosure, defacement, or further lateral movement within the organization's infrastructure. Since the vulnerability affects web-facing CMS components, it can be leveraged to target website visitors or internal users, amplifying the attack surface. The requirement for authentication limits exploitation to insiders or compromised accounts, but the low complexity and high impact make it a significant risk. Organizations relying on Statamic CMS for critical web content or e-commerce are particularly vulnerable to reputational damage and data breaches if unpatched.
Mitigation Recommendations
To mitigate CVE-2026-33172, organizations should immediately upgrade Statamic CMS to versions 5.73.14 or 6.7.0 or later, where the SVG sanitization flaw is fixed. Until patching is complete, restrict asset upload permissions strictly to trusted users and consider disabling SVG uploads if feasible. Implement monitoring and alerting for unusual SVG asset uploads or modifications, and conduct regular audits of uploaded assets to detect malicious content. Employ Content Security Policy (CSP) headers to limit the impact of any injected scripts by restricting script execution sources. Educate users with upload permissions about the risks of uploading untrusted SVG files. Additionally, review authentication and access controls to minimize the number of users with asset upload rights. In environments where patching is delayed, consider isolating the CMS or deploying web application firewalls (WAFs) with custom rules to detect and block malicious SVG payloads. Finally, maintain comprehensive logging to facilitate incident response if exploitation is suspected.
Affected Countries
United States, United Kingdom, Germany, Canada, Australia, Netherlands, France, Sweden, Japan, India
CVE-2026-33172: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in statamic cms
Description
Statamic is a Laravel and Git powered content management system (CMS). Prior to versions 5.73.14 and 6.7.0, a stored XSS vulnerability in SVG asset reuploads allows authenticated users with asset upload permissions to bypass SVG sanitization and inject malicious JavaScript that executes when the asset is viewed. This has been fixed in 5.73.14 and 6.7.0.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-33172 is a stored cross-site scripting (XSS) vulnerability classified under CWE-79 that affects the Statamic content management system (CMS), which is built on Laravel and Git. The vulnerability exists in versions prior to 5.73.14 and 6.7.0 and specifically targets the SVG asset reupload functionality. Authenticated users who possess asset upload permissions can exploit this flaw by uploading SVG files containing malicious JavaScript payloads. Due to improper sanitization of SVG content during reuploads, the malicious script is not neutralized and executes in the context of users viewing the asset. This can lead to session hijacking, credential theft, or further exploitation within the CMS environment. The vulnerability requires authentication and user interaction (viewing the malicious SVG asset) but does not require elevated privileges beyond asset upload rights. The CVSS 3.1 base score of 8.7 reflects a high severity, with network attack vector, low attack complexity, privileges required, user interaction, and a scope change indicating that the vulnerability affects components beyond the initial vulnerable code. The impact on confidentiality and integrity is high, while availability is not affected. No public exploits have been reported yet, but the vulnerability is critical enough to warrant immediate patching. The fix was introduced in Statamic versions 5.73.14 and 6.7.0, which properly sanitize SVG uploads to prevent script injection.
Potential Impact
The exploitation of CVE-2026-33172 can have severe consequences for organizations using vulnerable versions of Statamic CMS. Attackers with authenticated access and asset upload permissions can inject malicious JavaScript that executes in the browsers of users viewing the compromised SVG assets. This can lead to theft of session tokens, user credentials, or execution of arbitrary actions on behalf of victims, potentially compromising administrative accounts and the CMS backend. The breach of confidentiality and integrity can result in unauthorized data disclosure, defacement, or further lateral movement within the organization's infrastructure. Since the vulnerability affects web-facing CMS components, it can be leveraged to target website visitors or internal users, amplifying the attack surface. The requirement for authentication limits exploitation to insiders or compromised accounts, but the low complexity and high impact make it a significant risk. Organizations relying on Statamic CMS for critical web content or e-commerce are particularly vulnerable to reputational damage and data breaches if unpatched.
Mitigation Recommendations
To mitigate CVE-2026-33172, organizations should immediately upgrade Statamic CMS to versions 5.73.14 or 6.7.0 or later, where the SVG sanitization flaw is fixed. Until patching is complete, restrict asset upload permissions strictly to trusted users and consider disabling SVG uploads if feasible. Implement monitoring and alerting for unusual SVG asset uploads or modifications, and conduct regular audits of uploaded assets to detect malicious content. Employ Content Security Policy (CSP) headers to limit the impact of any injected scripts by restricting script execution sources. Educate users with upload permissions about the risks of uploading untrusted SVG files. Additionally, review authentication and access controls to minimize the number of users with asset upload rights. In environments where patching is delayed, consider isolating the CMS or deploying web application firewalls (WAFs) with custom rules to detect and block malicious SVG payloads. Finally, maintain comprehensive logging to facilitate incident response if exploitation is suspected.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-17T22:16:36.719Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69bdc1299e4ece4ed25050a5
Added to database: 3/20/2026, 9:50:33 PM
Last enriched: 3/20/2026, 9:50:56 PM
Last updated: 3/20/2026, 11:54:24 PM
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.