CVE-2024-47058: Mautic Core Cross-Site Scripting (XSS) Vulnerability

mautic/core Updated 02 Oct 2025

Summary

18/09/2024
Yes i
Moderate
4.8

CVE-2024-47058: Mautic vulnerable to Cross-site Scripting (XSS) - stored (edit form HTML field). Affects mautic/core across 2 version ranges.

>= 1.0.0-beta, < 4.4.13 >= 5.0.0-alpha, < 5.1.1

Fixed in 4.4.13 or 5.1.1, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Mautic is an open-source marketing automation platform that enables businesses to manage their marketing campaigns effectively. It provides features such as email marketing, landing page creation, and lead management. However, Mautic is vulnerable to a Cross-Site Scripting (XSS) attack, specifically in the edit form HTML field, which can be exploited by attackers with access to modify forms.

Vulnerability Detail

The vulnerability arises from the ability of an attacker to inject malicious scripts into the HTML fields of Mautic forms. When a user accesses a compromised form, the injected script executes in their browser, potentially allowing the attacker to steal sensitive information from the user's session. This type of stored XSS can lead to unauthorized access to user data and compromise the integrity of the application.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 1.0.0-beta, < 4.4.13 4.4.13
    composer require mautic/core:4.4.13
  • >= 5.0.0-alpha, < 5.1.1 5.1.1
    composer require mautic/core:5.1.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There are no known workarounds for this vulnerability. The only effective solution is to upgrade to the patched versions.

Conclusion

In summary, the CVE-2024-47058 vulnerability in Mautic exposes users to potential XSS attacks through compromised form fields. It is crucial for users to upgrade to the latest versions to mitigate this risk. Regular monitoring and updates are essential for maintaining the security of open-source applications.

See every vulnerability recorded for mautic/core →

Share this vulnerability

FAQ

Cross-Site Scripting (XSS) is a security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to test your application without any signup.

If exploited, this vulnerability can lead to the theft of sensitive user information, session hijacking, and unauthorized access to user accounts.

It is not safe to continue using an affected version, as it poses a significant security risk. Immediate upgrading is recommended.

The CVSS score of this vulnerability is 2.9, indicating a low severity level.

Related vulnerabilities

Recent vulnerabilities recorded for mautic/core.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 1.0.0-beta, < 4.4.13 4.4.13
    composer require mautic/core:4.4.13
  • >= 5.0.0-alpha, < 5.1.1 5.1.1
    composer require mautic/core:5.1.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback