Skip to content
Fencer Vulns
high 8.7

CVE-2021-22242 in the critical feed json

Insufficient input sanitization in Mermaid markdown in GitLab CE/EE version 11.4 and up allows an attacker to exploit a stored cross-site s…

published 2021-08-25 5 y ago modified 2026-09-10 1 mo ago also BIT-gitlab-2021-22242 , EUVD-2021-9388

cvss
8.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
63.6%
EPSS 63.6% chance of exploitation in 30 days, percentile 99.2%
public exploits
0
none known

Summary

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

Patch / fix

  • bitnami gitlab 13.12.9, 14.0.7, 14.1.2
  • gitlab gitlab 13.12.9, 14.0.7, 14.1.2
  • gitlab gitlab_enterprise 13.12.9, 14.0.7, 14.1.2

Exploit prediction

63.55% chance of exploitation in the next 30 days, higher than 99.2% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 8.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
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
OSV 3.1 8.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Affected packages

ecosystem package affected fixed in
bitnami gitlab
>=11.4.0, <13.12.9
>=14.0.0, <14.0.7
>=14.1.0, <14.1.2
13.12.9
14.0.7
14.1.2

Affected products

  • GitLab GitLab

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation
Technology feeds

References

Sources

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.

CPEs and fixed versions use Anchore's correction of NVD's data: Enhance with deb and rpm package type records.