CVE-2021-27912
MEDIUM 5.4CVSS 3.1XSS vulnerability on asset view
Mautic 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 and adding a broken image URL as a remote asset. This can only be leveraged by an authenticated user with permission to create or edit assets.
- Published
- 30 Aug 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security@mautic.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-rh5w-82wh-jhr8
- Sources
- NVDJSONOSV GHSA-rh5w-82wh-jhr8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@mautic.org (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | acquia | mauticcpe:2.3:a:acquia:mautic:*:*:*:*:*:*:*:* |
< 3.3.4 | 3.3.4 |
| NVD | acquia | mauticcpe:2.3:a:acquia:mautic:4.0.0:alpha1:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | acquia | mauticcpe:2.3:a:acquia:mautic:4.0.0:beta:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | acquia | mauticcpe:2.3:a:acquia:mautic:4.0.0:rc:*:*:*:*:*:* |
= 4.0.0 | |
| OSV | Packagist | mautic/core | < 3.3.4 | 3.3.4 |
| OSV | Packagist | mautic/core | >= 4.0.0-alpha1, < 4.0.0 | 4.0.0 |
References
- https://github.com/mautic/mautic/security/advisories/GHSA-rh5w-82wh-jhr8 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-27912 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/mautic/core/CVE-2021-27912.yaml · WEB
- https://github.com/mautic/mautic · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 30 Aug 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 1 Sep 2021)