CVE-2026-32612: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in statamic cms
CVE-2026-32612 is a stored cross-site scripting (XSS) vulnerability in Statamic CMS versions 6. 0. 0 up to but not including 6. 6. 2. The flaw exists in the control panel's color mode preference feature, allowing authenticated users with control panel access to inject malicious JavaScript. This script executes when a higher-privileged user impersonates the compromised account, potentially leading to credential theft or session hijacking. The vulnerability requires authentication and user interaction (impersonation) but can compromise confidentiality and integrity. It has a CVSS score of 5. 4 (medium severity) and has been fixed in version 6.
AI Analysis
Technical Summary
CVE-2026-32612 is a stored cross-site scripting (XSS) vulnerability categorized under CWE-79 affecting Statamic CMS, a Laravel and Git-powered content management system. The vulnerability resides in the control panel's color mode preference feature, where input is improperly neutralized during web page generation. Authenticated users with control panel access can inject malicious JavaScript code into this preference setting. This malicious script is then stored and executed in the context of a higher-privileged user who impersonates the attacker’s account, enabling potential session hijacking, credential theft, or unauthorized actions within the CMS. The vulnerability affects Statamic versions from 6.0.0 up to but not including 6.6.2 and was addressed in version 6.6.2. The CVSS v3.1 base score is 5.4, reflecting a medium severity with network attack vector, low attack complexity, requiring privileges and user interaction, and impacting confidentiality and integrity but not availability. No public exploits have been reported to date. The flaw highlights the risk of stored XSS in administrative interfaces where privilege escalation can occur through impersonation features.
Potential Impact
The primary impact of this vulnerability is the compromise of confidentiality and integrity within affected Statamic CMS installations. An attacker with authenticated control panel access can inject malicious scripts that execute when a higher-privileged user impersonates their account. This can lead to theft of sensitive information such as session tokens or credentials, unauthorized actions performed with elevated privileges, and potential further compromise of the CMS environment. While availability is not directly affected, the breach of trust and control panel integrity can disrupt administrative operations and damage organizational reputation. Organizations relying on Statamic CMS for content management and website administration are at risk, especially those with multiple user roles and impersonation features enabled. The requirement for authentication and user interaction limits the attack surface but does not eliminate risk, particularly in environments with many users or delegated administrative roles.
Mitigation Recommendations
1. Upgrade Statamic CMS to version 6.6.2 or later immediately to apply the official patch addressing this vulnerability. 2. Review and restrict control panel access permissions to the minimum necessary users, limiting the number of accounts that can modify color mode preferences or impersonate other users. 3. Disable or tightly control the impersonation feature if not essential, as it is the vector for executing the stored XSS payload. 4. Implement Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts within the control panel environment. 5. Conduct regular security audits and penetration testing focusing on stored XSS vectors in administrative interfaces. 6. Educate administrators and users with impersonation privileges about the risks of executing actions under other user contexts. 7. Monitor logs for unusual impersonation activities or unexpected script executions within the control panel. 8. Consider deploying Web Application Firewalls (WAF) with rules tuned to detect and block stored XSS payloads targeting the control panel.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, Netherlands, France, Japan, India, Brazil
CVE-2026-32612: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in statamic cms
Description
CVE-2026-32612 is a stored cross-site scripting (XSS) vulnerability in Statamic CMS versions 6. 0. 0 up to but not including 6. 6. 2. The flaw exists in the control panel's color mode preference feature, allowing authenticated users with control panel access to inject malicious JavaScript. This script executes when a higher-privileged user impersonates the compromised account, potentially leading to credential theft or session hijacking. The vulnerability requires authentication and user interaction (impersonation) but can compromise confidentiality and integrity. It has a CVSS score of 5. 4 (medium severity) and has been fixed in version 6.
AI-Powered Analysis
Technical Analysis
CVE-2026-32612 is a stored cross-site scripting (XSS) vulnerability categorized under CWE-79 affecting Statamic CMS, a Laravel and Git-powered content management system. The vulnerability resides in the control panel's color mode preference feature, where input is improperly neutralized during web page generation. Authenticated users with control panel access can inject malicious JavaScript code into this preference setting. This malicious script is then stored and executed in the context of a higher-privileged user who impersonates the attacker’s account, enabling potential session hijacking, credential theft, or unauthorized actions within the CMS. The vulnerability affects Statamic versions from 6.0.0 up to but not including 6.6.2 and was addressed in version 6.6.2. The CVSS v3.1 base score is 5.4, reflecting a medium severity with network attack vector, low attack complexity, requiring privileges and user interaction, and impacting confidentiality and integrity but not availability. No public exploits have been reported to date. The flaw highlights the risk of stored XSS in administrative interfaces where privilege escalation can occur through impersonation features.
Potential Impact
The primary impact of this vulnerability is the compromise of confidentiality and integrity within affected Statamic CMS installations. An attacker with authenticated control panel access can inject malicious scripts that execute when a higher-privileged user impersonates their account. This can lead to theft of sensitive information such as session tokens or credentials, unauthorized actions performed with elevated privileges, and potential further compromise of the CMS environment. While availability is not directly affected, the breach of trust and control panel integrity can disrupt administrative operations and damage organizational reputation. Organizations relying on Statamic CMS for content management and website administration are at risk, especially those with multiple user roles and impersonation features enabled. The requirement for authentication and user interaction limits the attack surface but does not eliminate risk, particularly in environments with many users or delegated administrative roles.
Mitigation Recommendations
1. Upgrade Statamic CMS to version 6.6.2 or later immediately to apply the official patch addressing this vulnerability. 2. Review and restrict control panel access permissions to the minimum necessary users, limiting the number of accounts that can modify color mode preferences or impersonate other users. 3. Disable or tightly control the impersonation feature if not essential, as it is the vector for executing the stored XSS payload. 4. Implement Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts within the control panel environment. 5. Conduct regular security audits and penetration testing focusing on stored XSS vectors in administrative interfaces. 6. Educate administrators and users with impersonation privileges about the risks of executing actions under other user contexts. 7. Monitor logs for unusual impersonation activities or unexpected script executions within the control panel. 8. Consider deploying Web Application Firewalls (WAF) with rules tuned to detect and block stored XSS payloads targeting the control panel.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-12T14:54:24.270Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69b3375b2f860ef943024599
Added to database: 3/12/2026, 9:59:55 PM
Last enriched: 3/12/2026, 10:14:32 PM
Last updated: 3/13/2026, 12:05:54 AM
Views: 7
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 in Console -> Billing 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.