CVE-2021-22242
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
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 63.6%, higher than 99% of all known CVEs. Patch or mitigate before the next change window.
Description
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
- CVSS 3.1
- 5.4 MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 63.55% probability · 99th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- gitlab/gitlab
- Source
- cve@gitlab.com
EPSS 63.6% since 26 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22242.jsonVendor Advisory
- https://gitlab.com/gitlab-org/gitlab/-/issues/332528Broken Link
- https://hackerone.com/reports/1212822Permissions Required, Third Party Advisory
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22242.jsonVendor Advisory
- https://gitlab.com/gitlab-org/gitlab/-/issues/332528Broken Link
- https://hackerone.com/reports/1212822Permissions Required, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.