CVE-2021-27910

MediumCVSS 6.1/10Last modified Jun 17, 2026

Description

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.

Metrics

CVSS 3.1 6.1/10CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Aug 30, 2021
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2021

CVE-2021-279116.1Mautic versions before 3.3.4/4.0.0 are vulnerable to an inline JS XSS attack through the contact's first or last name and triggered when vieCVE-2021-279125.4Mautic versions before 3.3.4/4.0.0 are vulnerable to an inline JS XSS attack when viewing Mautic assets by utilizing inline JS in the title CVE-2021-279133.5The function mt_rand is used to generate session tokens, this function is cryptographically flawed due to its nature being one pseudorandomnCVE-2021-279144.8A cross-site scripting (XSS) vulnerability in the installer component of Mautic before 4.3.0 allows admins to inject executable javascriptCVE-2021-279159.0Prior to the patched version, there is an XSS vulnerability in the description fields within the Mautic application which could be exploitedCVE-2021-279168.1Prior to the patched version, logged in users of Mautic are vulnerable to Relative Path Traversal/Arbitrary File Deletion. Regardless of theCVE-2021-279175.4Prior to this patch, a stored XSS vulnerability existed in the contact tracking and page hits report.CVE-2021-279187.5encoding/xml in Go before 1.15.9 and 1.16.x before 1.16.1 has an infinite loop if a custom TokenReader (for xml.NewTokenDecoder) returns EOFCVE-2021-279195.5archive/zip in Go 1.16.x before 1.16.1 allows attackers to cause a denial of service (panic) upon attempted use of the Reader.Open API for aCVE-2021-279217.5Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is notCVE-2021-279227.5Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is notCVE-2021-279237.5Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not
CVE-2021-27910: Medium severity, CVSS 6.1 | Vulnix