CVE-2022-25774: Mautic vulnerable to cross-site scripting in notifications via saving Dashboards
4.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.0436%
CWE
Published
4/12/2024
Updated
9/18/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
mautic/core | composer | < 4.4.12 | 4.4.12 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the getNameFromRequest()
method's lack of input sanitization. The commit diff shows the patched version adds InputHelper::clean()
to sanitize the 'name' parameter, confirming this was the attack vector. Since this function directly handles user-controlled input used in dashboard notifications (a context where XSS would execute), and the patch specifically addresses this method, we can conclusively identify it as the vulnerable function.