Skip to main content

SVG CVE-2026-33172

HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-03-18 https://github.com/statamic/cms GHSA-7rcv-55mj-chg7
8.7
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticated user uploads malicious SVG asset
  2. Delivery
    Bypass SVG sanitization during reupload
  3. Exploit
    Inject malicious JavaScript payload
  4. Execution
    Victim views asset
  5. Impact
    Execute XSS in browser context

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.

Exploitation Conditions

Requires authenticated user account with asset upload permissions. Attacker uploads malicious SVG file exploiting sanitization bypass in asset reupload functionality. Victim must view the uploaded SVG asset in affected versions (before 5.73.14 or 6.7.0). Stored XSS executes in victim's browser with high impact.

Impact

The real-world risk is moderate despite the high CVSS score of 8.7. The CVSS vector (AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N) indicates network-based attacks with low complexity, but exploitation requires authenticated access with asset upload permissions (PR:L) and victim user interaction (UI:R). The changed scope (S:C) reflects that malicious JavaScript executes in victims' browser contexts, potentially affecting resources beyond the vulnerable component. No EPSS score or KEV (Known Exploited Vulnerabilities) status is provided in the intelligence data, suggesting this is not currently being actively exploited in the wild. The attack requires insider access or compromised low-privileged credentials, limiting the threat actor pool primarily to malicious authenticated users or attackers who have already gained initial access. From an SSVC perspective, exploitation is not automatable due to the authentication and user interaction requirements, though technical impact is high given the potential for session hijacking and data exfiltration. This is a priority for organizations using Statamic CMS with multiple content editors, but lower priority than unauthenticated or wormable vulnerabilities.

Exploit ScenarioDerived

An authenticated attacker with asset upload permissions logs into the Statamic CMS and uploads a crafted SVG file containing embedded JavaScript within script tags or event handlers. When another user, particularly an administrator, views the asset through the CMS interface or on the public-facing website, the malicious JavaScript executes in their browser context, allowing the attacker to steal session cookies, perform actions on behalf of the victim, or exfiltrate sensitive data accessible to that user's privilege level.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 18, 2026

A stored cross-site scripting (XSS) vulnerability in Statamic CMS allows authenticated users with asset upload permissions to bypass SVG sanitization during asset reuploads, enabling injection of malicious JavaScript that executes when other users view the compromised asset. The vulnerability affects Statamic CMS versions prior to 5.73.14 and 6.7.0, with patches available in those releases. The CVSS score of 8.7 (High) reflects the changed scope and high confidentiality/integrity impact, though exploitation requires low-privileged authenticated access and user interaction.

RemediationAI

Upgrade Statamic CMS to version 5.73.14 or later if using the 5.x branch, or to version 6.7.0 or later if using the 6.x branch, as documented in the GitHub Security Advisory at https://github.com/statamic/cms/security/advisories/GHSA-7rcv-55mj-chg7. Until patching is possible, implement compensating controls such as restricting asset upload permissions to only highly trusted users, implementing Content Security Policy (CSP) headers to prevent inline script execution, and conducting security reviews of recently uploaded SVG assets for malicious content. Organizations should also monitor for suspicious SVG uploads and audit user accounts with asset upload permissions to ensure no unauthorized access exists.

Affected Packages

composer statamic/cms fix: 5.73.14, 6.7.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in composer

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability affects the Statamic CMS content management system, distributed as a Composer package (pkg:composer/statamic_cms). The root cause is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a stored XSS variant. The vulnerability emerges from insufficient sanitization of SVG (Scalable Vector Graphics) files during the reupload process. While SVG is an XML-based vector image format that can embed JavaScript through elements like script tags or event handlers, the CMS failed to properly sanitize these files when they were reuploaded by authenticated users. This represents a classic sanitization bypass where security controls are inconsistently applied across different code paths—initial uploads may have been sanitized, but the reupload functionality lacked equivalent protection, allowing malicious SVG payloads to persist in the asset storage and execute when rendered in victims' browsers.

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 8.7 HIGH
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/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
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 18, 2026 - 19:54 nvd
HIGH 8.7

DescriptionGitHub Advisory

Impact

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.

Patches

This has been fixed in 5.73.14 and 6.7.0.

Executive ViewAI

Why It Matters

A stored cross-site scripting vulnerability in Statamic CMS allows authenticated users to inject malicious code through asset uploads, potentially compromising other users who access those assets. This affects organizations running vulnerable versions of Statamic CMS and could lead to unauthorized access, data theft, or credential compromise of affected users.

Business Impact: High
Compensating Controls

Until patched: (1) Disable SVG asset uploads entirely or restrict to administrators only; (2) Implement Web Application Firewall (WAF) rules to detect and block suspicious SVG content patterns; (3) Require manual security review of all SVG assets before publication; (4) Segment asset storage from production systems; (5) Implement Content Security Policy (CSP) headers to restrict inline script execution; (6) Monitor asset access logs for suspicious viewing patterns.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Data Quality
5 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
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.

Affected Products (CPE)GitHub Advisory

pkg:composer/statamic_cms
pkg:composer/statamic_cms

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