GHSA-5hvg-w58j-545m

Suggest an improvement
Source
https://github.com/advisories/GHSA-5hvg-w58j-545m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-5hvg-w58j-545m/GHSA-5hvg-w58j-545m.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5hvg-w58j-545m
Aliases
  • CVE-2026-9811
Published
2026-07-02T19:49:27Z
Modified
2026-07-02T20:00:08.051540438Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
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.

Database specific
{
    "github_reviewed_at": "2026-07-02T19:49:27Z",
    "nvd_published_at": "2026-05-29T12:16:27Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE"
}
References

Affected packages

Packagist / mautic/core

Package

Name
mautic/core
Purl
pkg:composer/mautic%2Fcore

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.0.0
Fixed
7.1.2

Affected versions

7.*
7.0.0
7.0.1
7.0.2
7.1.0-rc
7.1.0
7.1.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-5hvg-w58j-545m/GHSA-5hvg-w58j-545m.json"