CVE-2024-47050: Mautic vulnerable to XSS in contact/company tracking (no authentication)
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.41919%
CWE
Published
9/18/2024
Updated
9/27/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| mautic/core | composer | >= 2.6.0, < 4.4.13 | 4.4.13 |
| mautic/core | composer | >= 5.0.0-alpha, < 5.1.1 | 5.1.1 |
| mautic/core-lib | composer | >= 2.6.0, < 4.4.13 | 4.4.13 |
| mautic/core-lib | composer | >= 5.0.0-alpha, < 5.1.1 | 5.1.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unsanitized user input in URL/email formatting functions. The patch introduced InputHelper::clean() and InputHelper::url() to sanitize values before HTML embedding. The pre-patch code directly interpolated $val into href attributes and link text without escaping (visible in FormatterHelper.php diffs). The added test cases (FormatterHelperTest.php) explicitly validate XSS prevention, confirming these were the vulnerable entry points. The tracking endpoint's handling of page_url parameters (shown in ReportControllerFunctionalTest.php) further demonstrates the attack vector through unescaped URL values.