CVE-2021-27910: Stored XSS vulnerability on Bounce Management Callback

Published Aug 30, 2021
·
Updated

Impact Insufficient sanitization / filtering allows for arbitrary JavaScript Injection in Mautic using the bounce management callback function. The values submitted in the "error" and "errorrelatedto" 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 "errorrelatedto" 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.

Patches Upgrade to 3.3.4 or 4.0.0

Workarounds No

References https://github.com/mautic/mautic/releases/tag/3.3.4 https://github.com/mautic/mautic/releases/tag/4.0.0

For more information If you have any questions or comments about this advisory:

Email us at security@mautic.org

Other sources

Stored XSS vulnerability on Bounce Management Callback

Affected Software

7 affected componentsFixes available
composer/mautic/core<4.0.0, >=3.3.0, <3.3.4, >=3.2.0, <3.3.0, >=3.1.0, <3.2.0, >=3.0.0, <3.1.0
composer/mautic/core>=4.0.0-alpha1<4.0.0
4.0.0
composer/mautic/core<3.3.4
3.3.4
Acquia Mautic<3.3.4
Acquia Mautic=4.0.0-alpha1
Acquia Mautic=4.0.0-beta
Acquia Mautic=4.0.0-rc

Event History

Aug 30, 2021
CVE Published
via MITRE·03:55 PM
Data Sourced
via MITRE·03:55 PM
DescriptionSeverityWeakness
Sep 1, 2021
Advisory Published
via GitHub·06:40 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203