Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain write access to an HTML-type custom contact field
-
DeliveryStore script payload via contact edit, API, or mapped form
-
ExploitAdministrator opens affected contact detail page
-
ExecutionInjected script executes in admin session
-
ImpactCreate rogue admin account or exfiltrate contact/campaign data
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 (1) at least one custom contact field configured with the HTML field type in Mautic 7.0.0 through 7.2.1, (2) an attacker-controlled write path to that field - contact editing, the contact API, or a public/updatable form field mapped to the HTML custom field, and (3) a second, more-privileged user or administrator subsequently opening the affected contact's detail view, which is the UI:R trigger. Limiting factors: versions 4.x, 5.x, and 6.x are not affected because they escape such values; the unauthenticated path only exists where a public form is intentionally mapped to an HTML field, otherwise write access needs an account or API token; and nothing fires until a victim views the contact. The vendor states there is no official workaround - mitigation short of upgrading is limited to restricting contact create/edit and API access to trusted users and not mapping public form fields to HTML-type contact fields; upgrading to 7.2.2 is the only complete fix. |
| Impact | This is a credible, elevated-priority issue rather than a CVSS-inflated non-event, but the raw 8.2 overstates the ease of drive-by exploitation. The supplied CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N) scores PR:N, yet the description qualifies exploitation as achievable by 'a user or integration able to write a value' to an HTML-type custom contact field - i.e. typically an authenticated user or API client, with the unauthenticated path existing only when a public form is deliberately mapped to such a field. That is a conflict worth flagging: the PR:N rating appears to assume the non-default public-form mapping, so for most deployments realistic exploitation requires some write privilege. The vulnerability class (stored XSS, S:C) is genuine - injected script runs in the session of whoever views the contact, up to an administrator, enabling account creation and config changes. EPSS is not provided, there is no CISA KEV listing, and no SSVC decision block was supplied; the only prioritization signal is the vuln.today 'this_week' label. No public exploit code is referenced (the single reference is the vendor GHSA advisory, not a PoC). Net: real and patchable now, but it depends on an attacker-controlled write path plus a privileged victim opening the contact, making it targeted rather than mass/wormable. |
| Exploit ScenarioDerived | An attacker who can write to an HTML-type custom contact field - via the contact edit UI, the contact API, or a public form mapped to that field - stores a JavaScript payload in it. When a Mautic operator or administrator later opens that contact's detail page, the script executes in their authenticated session and performs actions on their behalf, such as creating a new administrator account or reading contact and campaign data. No public exploit code is identified at time of analysis; the UI:R requirement means a privileged user must view the poisoned contact for the payload to fire. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 26, 2026
Stored cross-site scripting in Mautic 7.0.0 through 7.2.1 allows anyone who can write a value into an HTML-type custom contact field - through contact editing, the contact API, or a form submission mapped to that field - to plant script that executes in a victim's browser session when the affected contact's detail page is opened, potentially letting the attacker create administrator accounts, change system configuration, or read contact and campaign data. The independent assessment records the write path as authenticated (PR:L), with an unauthenticated route existing only where a public form is deliberately mapped to an HTML field, whereas the vendor scored the same issue PR:N; exploitation additionally requires a configured HTML-type field and a second, more-privileged user opening the record (UI:R). No public exploit code or PoC was identified in the available intelligence, and no active exploitation is indicated; Mautic 7.2.2 is the only complete fix, with 4.x, 5.x and 6.x confirmed unaffected.
RemediationAI
Upgrade to Mautic 7.2.2, the release in which the vendor addressed this issue; per the advisory at https://github.com/mautic/mautic/security/advisories/GHSA-3295-vq3p-93rw this is the only complete fix, and the vendor states there are no official workarounds. Where upgrading cannot be done immediately, the vendor-documented interim options are to restrict contact create and edit permissions and API access to trusted users - which shrinks the set of principals who can write a payload but does not stop an already-stored value from firing when an administrator opens the record, and which may break legitimate editing and integration workflows - and to avoid mapping public form fields or publicly updatable settings to HTML-type contact fields, which closes the anonymous write path but requires auditing existing form-to-field mappings and field configuration before it is effective. Because the payload is stored rather than reflected, restricting write access after the fact does not clean values already saved in HTML-type fields, so the contact records themselves should be reviewed alongside the upgrade; Mautic 6.x, 5.x and 4.x deployments need no action for this specific issue.
Affected ProductsAI
Mautic 7.x is affected: the composer/mautic/core package is vulnerable from 7.0.0 up to but excluding 7.2.2, and is fixed in 7.2.2, per the GitHub advisory GHSA-3295-vq3p-93rw (https://github.com/mautic/mautic/security/advisories/GHSA-3295-vq3p-93rw). Exploitation additionally presupposes that at least one custom contact field has been configured with the HTML field type, since the unsanitized rendering applies specifically to that field type on the contact detail view. Mautic 6.x, 5.x and 4.x are explicitly documented by the vendor as not affected because those branches escape HTML-type contact field values. No CPE strings were supplied in the available intelligence, so scoping should be done by package version rather than by CPE matching.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Mautic is an open-source marketing automation platform distributed as the composer/mautic/core package, and its contact model supports custom fields with selectable types, including a rich HTML type intended to hold markup. CWE-79 (improper neutralization of input during web page generation) applies here as a stored/persistent variant: the contact detail view renders the stored HTML-type field value without output sanitization or contextual escaping, so markup written once is re-executed on every viewing of that contact. The flaw is version-specific to the Mautic 7 line - the vendor states 6.x, 5.x and 4.x escape HTML-type contact field values on the contact detail view and are therefore not affected, which points to a regression or an intentional raw-rendering change introduced in the 7.x branch. Triggering the issue requires three conditions to line up: a custom contact field configured with the HTML type, an attacker-controlled write path to that field (contact editing, the contact API, or a form mapped to it), and a more-privileged user subsequently opening the contact record. The scope change (S:C) in both vectors reflects that the injected script runs in the victim's session and can reach administrative functionality beyond the field itself; the vendor and the independent assessment diverge only on privileges required (PR:N vs PR:L) and on integrity impact (I:L vs I:H), with the difference attributable to whether the optional public-form write path is treated as the default.
Know when Mautic gets its next vulnerability
- 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:H/I:L/A:N
Writing a custom contact field normally needs an account or API token (PR:L); the admin victim must open the contact (UI:R); script runs cross-context (S:C) enabling data access and admin account/config changes (C:H/I:H).
Primary rating from Vendor (Mautic).
CVSS VectorVendor: Mautic
DescriptionCVE.org
A stored Cross-Site Scripting (XSS) vulnerability exists in the contact detail view of Mautic 7. Values of HTML-type custom contact fields are rendered without output sanitization. A user or integration able to write a value to such a field (for example, through contact editing, the contact API, or a form submission mapped to the field) can store a script payload in it. When another user, including an administrator, opens the affected contact's detail page, the injected script executes within the context of their active browser session. This could allow an attacker to perform administrative actions on behalf of the victim, such as creating new administrator accounts, altering system configuration, or accessing contact and campaign data.
Technical POC Analysis
Evidence caveat, read first: the supplied intelligence is the GHSA-3295-vq3p-93rw advisory only.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A stored cross-site scripting vulnerability in Mautic versions 7.0.0 through 7.2.1 enables an attacker to inject malicious scripts that execute when a contact record is viewed, potentially leading to unauthorized administrative actions such as account creation or data theft. This affects organizations using these Mautic versions, particularly those with HTML-type custom fields, and could compromise sensitive contact and campaign data or system integrity if exploited by a malicious actor with write access. No active exploitation has been observed, but the potential for privilege escalation warrants immediate attention from security leadership.
No vendor-released patch identified at time of analysis; interim mitigations include restricting write access to HTML-type custom fields to trusted users, disabling public form mappings to HTML fields, and implementing a web application firewall to block script injection attempts, while planning an upgrade to Mautic 7.2.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.
For Mautic versions prior to 3.3.4/4.0.0, there is an XSS vulnerability on Mautic's password reset page where a vulnerab
Remote code execution can result in Mautic 7 (7.0.0 through 7.2.1) when campaign-import archives carry asset files that
Mautic before 2.13.0 allows CSV injection. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
This advisory addresses two critical security vulnerabilities present in Mautic versions before 5.2.3. Rated critical se
Multiple cross-site request forgery (CSRF) vulnerabilities in Mautic 1.4.1 allow remote attackers to hijack the authenti
Server-side template injection in Mautic's Twig theme sandbox lets an authenticated user holding the core:themes:create
In all versions prior to Mautic 3.3.2, secret parameters such as database credentials could be exposed publicly by an au
PHP object injection in Mautic's segment filters and custom field properties can escalate to server-side code execution
This advisory addresses an authorization vulnerability in Mautic's HTTP Basic Authentication implementation. Rated high
Mautic's Contact Activity API endpoint is vulnerable to SQL injection due to insufficient validation of the sort directi
Mautic 2.6.1 and earlier fails to set flags on session cookies. Rated high severity (CVSS 7.5), this vulnerability is re
The function mt_rand is used to generate session tokens, this function is cryptographically flawed due to its nature bei
EUVD-2026-109797
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB