All vulnerabilities

Servers and applications

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

Severity
Medium 5.4
Published
25 Aug 2021
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Fixed in
13.12.9, 14.0.7, 14.1.2
Sources
NVD

Affected software

SoftwareAffected versions
GitLabServers and applications · cpe:a:gitlab:gitlab
  • From 11.4.0 before 13.12.9
  • From 14.0.0 before 14.0.7
  • From 14.1.0 before 14.1.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-22242
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-22242