Live threats

All CVEs / Acquia

CVE-2021-27910Acquia Mautic

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.7%
probability of exploitation in 30 days · percentile 54
Auth required
No
Published
Aug 30, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

Insufficient sanitization / filtering allows for arbitrary JavaScript Injection in Mautic using the bounce management callback function. The values submitted in the "error" and "error_related_to" parameters of the POST request of the bounce management callback will be permanently stored and executed once the details page of an affected lead is opened by a Mautic user. An attacker with access to the bounce management callback function (identified with the Mailjet webhook, but it is assumed this will work uniformly across all kinds of webhooks) can inject arbitrary JavaScript Code into the "error" and "error_related_to" parameters of the POST request (POST /mailer/<product / webhook>/callback). It is noted that there is no authentication needed to access this function. The JavaScript Code is stored permanently in the web application and executed every time an authenticated user views the details page of a single contact / lead in Mautic. This means, arbitrary code can be executed to, e.g., steal or tamper with information.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mautic.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist mautic/core < 3.3.4 3.3.4 composer require "mautic/core:^3.3.4"
Packagist mautic/core ≥ 4.0.0-alpha1 < 4.0.0 4.0.0 composer require "mautic/core:^4.0.0"

Per OSV / GitHub Advisories (GHSA-86pv-95mj-7w5f). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
acquiamautic< 3.3.4
acquiamautic4.0.0
acquiamautic4.0.0
acquiamautic4.0.0

Official sources

References

Links published by the sources. Open them with care.