Insufficient input sanitization in Mermaid markdown in GitLab CE/EE version 11.4 and up allows an attacker to exploit a stored cross-site scripting vulnerability via a specially-crafted markdown
Conclusion & alert: CVE-2021-22242 is rated High Risk (74.5/100): CVSS High severity, with high exploitation likelihood (EPSS 63.55%, 99th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. EPSS rose +61.27% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 2.28% | 63.55% | +61.27% |
| 2 | 2026-03-04 | 1.01% | 2.28% | +1.27% |
| 3 | 2026-03-01 | — | 1.01% | — |
Full EPSS history (38 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.7 | 3.1 | HIGH |
|
2.3 | 5.8 | [email protected] |
| 5.4 | 3.1 | MEDIUM |
|
2.3 | 2.7 | [email protected] |
| 3.5 | 2.0 | LOW |
|
6.8 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2021-22242 not yet assigned priority: Debian including 1 source packages (gitlab), 1 status rows across 1 suites (sid): resolved 1. | https://security-tracker.debian.org/tracker/CVE-2021-22242 |
ubuntu
|
medium | CVE-2021-22242 medium priority: Ubuntu including 1 source packages (gitlab), 12 status rows across 12 suites (bionic, focal, hirsute, impish, jammy, kinetic, lunar, mantic, noble, trusty, upstream, xenial): DNE 10, ignored 1, needs-triage 1. | https://ubuntu.com/security/CVE-2021-22242 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| gitlab | gitlab | >= 11.4.0, < 13.12.9 | cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* |
| gitlab | gitlab | >= 11.4.0, < 13.12.9 | cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* |
| gitlab | gitlab | >= 14.0.0, < 14.0.7 | cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* |
| gitlab | gitlab | >= 14.0.0, < 14.0.7 | cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* |
| gitlab | gitlab | >= 14.1.0, < 14.1.2 | cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* |
| gitlab | gitlab | >= 14.1.0, < 14.1.2 | cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* |
| URL | Tags |
|---|---|
| https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22242.json | Vendor Advisory |
| https://gitlab.com/gitlab-org/gitlab/-/issues/332528 | Broken Link |
| https://hackerone.com/reports/1212822 | Permissions Required Third Party Advisory |