Advisory

GHSA-5hvg-w58j-545m

Also known as: CVE-2026-9811

Summary

Mautic has Stored Cross-Site Scripting (XSS) in Project Option Selector

Details

Summary
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.

Impact
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.

Patched Versions
This security issue has been addressed in the following release:

  • 7.1.2

*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 page.*

Workarounds
There are no official workarounds. To mitigate this vulnerability without upgrading, restrict project creation and modification permissions to trusted administrative users.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-07-02 19:49 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

mautic/core

Packagist · All systems

Affected

  • introduced 7.0.0, fixed 7.1.2 (ecosystem)

Fixed versions

7.1.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences