CVE-2021-27910
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//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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
mautic/corePackagist | < 3.3.4 | 3.3.4 |
mautic/corePackagist | >= 4.0.0-alpha1, < 4.0.0 | 4.0.0 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/mautic/mautic/security/advisories/GHSA-86pv-95mj-7w5fnvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-86pv-95mj-7w5fghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-27910ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/mautic/core/CVE-2021-27910.yamlghsaWEB
- github.com/mautic/mautic/commit/e6a405975342f3cf86aa71927618d31d25135fa3ghsaWEB
News mentions
0No linked articles in our index yet.