# CVE-2021-27911: XSS vulnerability on contacts view

- Severity: High 8.3 (CVSS:3.1, scored by Mautic) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 52% of CVEs (2026-12-01)
- Published: 2021-08-30T15:55:12.869Z
- Modified: 2026-07-08T06:29:24.022Z
- Also known as: GHSA-72hm-fx78-xwhc
- Weaknesses: CWE-79
- Assigned by: Mautic

## Description

Mautic 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 viewing a contact's details page then clicking on the action drop down and hovering over the Campaigns button. Contact first and last name can be populated from different sources such as UI, API, 3rd party syncing, forms, etc.

(As written by CVE List.)

## Affected

- Mautic Mautic: from unspecified before 3.3.4; from unspecified before 4.0.0
- mautic/core (Packagist): before 3.3.4; from 4.0.0-alpha1 before 4.0.0
- acquia mautic: before 3.3.4; 4.0.0

## Every score

- Mautic: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/mautic/mautic/security/advisories/GHSA-72hm-fx78-xwhc> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-27911> (advisory)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/mautic/core/CVE-2021-27911.yaml> (web)
- <https://github.com/mautic/mautic> (package)

## Sources

- CVE List: [CVE-2021-27911](https://www.cve.org/CVERecord?id=CVE-2021-27911), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-72hm-fx78-xwhc](https://github.com/advisories/GHSA-72hm-fx78-xwhc), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-27911](https://nvd.nist.gov/vuln/detail/CVE-2021-27911), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-27911 · Whole record: https://cve.day/CVE-2021-27911.json · Rebuilt by cve.day 2026-11-25T22:58:03.546Z
