Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit form with HTML/JS payload
-
DeliveryStatamic automagic email renders unescaped input
-
ExploitHTML email delivered to admin recipient
-
ExecutionRecipient opens notification email
-
ImpactInjected HTML/script executes in email client
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 | Exploitation requires three conditions to hold simultaneously. First, the target Statamic site must have at least one public-facing form with the automagic email notification enabled - this is the default behavior when no custom email template is configured, so it is not a non-default setting. Second, the site must be reachable over the network by the attacker; any internet-exposed form suffices (PR:N, AV:N confirmed by CVSS vector). Third, a configured notification recipient (typically an admin) must open and view the generated HTML email notification (UI:R per CVSS vector). Exploitation is limited to impact within the email client environment - the Statamic application and server are not directly accessible through this vector. Sites that have replaced the automagic template with a custom notification template are not affected. |
| Impact | The CVSS 3.1 base score of 6.1 (Medium) reflects a Changed scope (S:C) because the injected HTML executes in the email client environment, not within the Statamic application itself, while impact is bounded at Low for both confidentiality and integrity. The attack vector is Network with no privilege or complexity requirements, making the initial submission trivial for any unauthenticated user with access to a public Statamic form. However, exploitation requires the email recipient to open and render the HTML notification (UI:R), limiting the attack surface to configured recipients - typically site administrators. EPSS data was not provided; no KEV listing exists; no public POC has been identified. Real-world risk is moderate: while the trigger action is trivial, impact is constrained to HTML/script execution within email clients, which varies significantly by client security posture. Attackers could craft phishing content, load external tracking pixels, or - in permissive email clients - attempt script execution, but cannot directly compromise the Statamic application or server. |
| Exploit ScenarioDerived | An attacker visits a publicly accessible Statamic form and submits a name field containing a payload such as <img src=x onerror=alert(document.cookie)>. Statamic's automagic notification triggers, rendering the unescaped value directly into an HTML email body sent to the site administrator. When the administrator opens the email in an HTML-rendering client, the injected markup executes - enabling phishing content, credential harvesting overlays, or external resource loading depending on the client's security posture. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 06, 2026
HTML injection via unescaped form submissions in Statamic CMS's automagic email notification template allows unauthenticated attackers to deliver malicious HTML content to site administrators and other configured email recipients. Statamic's Antlers templating engine rendered all user-controlled form field values - including text, select, radio, and checkbox inputs - directly into HTML email bodies without sanitization, enabling payload delivery through a standard public-facing form submission. No public exploit code or CISA KEV listing has been identified at time of analysis, but the vulnerability requires no authentication and is accessible to any user who can submit a Statamic form.
RemediationAI
Upgrade to Statamic CMS 5.74.3 (v5 branch) or 6.24.2 (v6 branch), both of which are confirmed fixed releases per the GitHub advisory GHSA-vx89-p3j7-8xqc (https://github.com/statamic/cms/security/advisories/GHSA-vx89-p3j7-8xqc) and the tagged releases at https://github.com/statamic/cms/releases/tag/v5.74.3 and https://github.com/statamic/cms/releases/tag/v6.24.2. The fix applies the | sanitize filter to all user-controlled output variables in the automagic email template (PR https://github.com/statamic/cms/pull/14959, commit 4ad1335e818a67249d0617f0f167a1198fb96a2c). As a compensating control prior to patching, site operators can configure a custom form notification email template that uses explicit escaping, bypassing the automagic template entirely - this disables the convenience feature but removes the vulnerable code path with no other functional side effects.
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 CMS is a Laravel-based PHP flat-file CMS using the Antlers templating engine. The 'automagic' form notification feature auto-generates HTML email bodies from form submissions without requiring a custom email template. The vulnerability resides in resources/views/forms/automagic-email.antlers.html, where Antlers variables like {{ value:label ?? value }} were rendered without the | sanitize filter, causing raw user input to be interpolated directly into the HTML email payload. CWE-79 (Improper Neutralization of Input During Web Page Generation / XSS) applies here in an email rendering context rather than a browser DOM context. Affected packages are composer/statamic/cms versions prior to 5.74.3 (v5 branch) and versions 6.0.0 through 6.24.1 (v6 branch).
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:N/UI:R/S:C/C:L/I:L/A:N
Network-accessible form submission requires no privileges; scope changes to email client; impact bounded to low C/I with no availability effect.
Primary rating from Vendor (https://github.com/statamic/cms).
CVSS VectorVendor: https://github.com/statamic/cms
DescriptionCVE.org
Impact
The default ("automagic") form notification email rendered user-submitted values without escaping, allowing an unauthenticated form submitter to inject HTML into the notification emails sent to the configured recipients
Patches
This has been fixed in 5.74.3 and 6.24.2.
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-54239
GHSA-vx89-p3j7-8xqc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB