CVE-2026-9811: Mautic/core Cross-Site Scripting Vulnerability
MODERATECVE-2026-9811 is a MODERATE (CVSS 5.4) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Mautic/core libraries in the Packagist ecosystem. The issue involves mautic has stored cross-site scripting (xss) in project option selector. Remediation is available by upgrading affected packages to version 7.1.2.
CVE-2026-9811 at a Glance
Security Impact
CVSS: 5.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2026-9811
To remediate this vulnerability, upgrade all affected Mautic/core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade mautic/core to 7.1.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for mautic/core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-9811, inspect your project dependencies for Mautic/core:
inspect dependencies for mautic/core
Analyze the terminal output to locate any version of Mautic/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.1.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Mautic/core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-9811 Affected Mautic/core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mautic/core
|
Packagist |
≥ 7.0.0
< 7.1.2
|
7.1.2
|
References
Frequently Asked Questions
What is CVE-2026-9811?
Which Mautic/core versions are affected?
What version fixes CVE-2026-9811?
Is mautic/core affected?
What is the CVSS score of CVE-2026-9811?
What CWE is associated with CVE-2026-9811?
How can I check Packagist dependencies for CVE-2026-9811?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5hvg-w58j-545m",
"modified" : "2026-07-02T19:49:27Z",
"published" : "2026-07-02T19:49:27Z",
"aliases" : [ "CVE-2026-9811" ],
"summary" : "Mautic has Stored Cross-Site Scripting (XSS) in Project Option Selector",
"details" : "### Summary\nA stored Cross-Site Scripting (XSS) vulnerability exists in the project selector component of Mautic 7. When rendering selection menus for associating projects with system entities, the application fails to sanitize project names returned via AJAX before injecting them into the DOM as option fields. An authenticated user with permissions to create projects can exploit this to store a malicious script payload in the project's name.\n\n### Impact\nWhen another administrative user subsequently opens an entity editor containing the project selector, the injected script executes within the context of their active browser session. This could allow an attacker to hijack the session, perform unauthorized state coordination, or access organizational data within the dashboard.\n\n### Patched Versions\nThis security issue has been addressed in the following release:\n* **7.1.2**\n\n*Note: Mautic 6.x, 5.x, and 4.x branches do not contain the Projects feature or the associated AJAX selector and are not affected by this vulnerability. For general security support regarding legacy Mautic 4 releases, please refer to the [ELTS](https://mautic.org/extended-long-term-support-elts/) page.*\n\n### Workarounds\nThere are no official workarounds. To mitigate this vulnerability without upgrading, restrict project creation and modification permissions to trusted administrative users.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "mautic/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.1.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/mautic/mautic/security/advisories/GHSA-5hvg-w58j-545m"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-9811"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mautic/mautic"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-02T19:49:27Z",
"nvd_published_at" : "2026-05-29T12:16:27Z"
}
}