CVE-2021-27912 json
XSS vulnerability on asset view
published 2021-08-30 5 y ago modified 2026-07-08 4 mo ago also GHSA-rh5w-82wh-jhr8 , EUVD-2021-2108
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist mautic/core 3.3.4, 4.0.0
- Mautic Mautic 3.3.4, 4.0.0
Exploit prediction
0.60% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | mautic/core | <3.3.4 >=4.0.0-alpha1, <4.0.0 |
3.3.4 4.0.0 |
Affected products
- Mautic Mautic
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/mautic/mautic/security/advisories/GHSA-rh5w-82wh-jhr8
web, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-27912
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/mautic/core/CVE-2021-27912.yaml
web
-
github.com
/mautic/mautic
package
Sources
- CVE List CVE-2021-27912
- GitHub Advisory GHSA-rh5w-82wh-jhr8
- NVD CVE-2021-27912
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.