← All CVEs

CVE-2021-22242

high · 8.7

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

8.7
CVSS
63.6%
EPSS (exploit prob.)
99th
EPSS percentile
2021-08-25
Published

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Weaknesses

CWE-79

Affected products

VendorProductAffected versions
gitlabgitlab>= 11.4.0, < 13.12.9
gitlabgitlab>= 11.4.0, < 13.12.9
gitlabgitlab>= 14.0.0, < 14.0.7
gitlabgitlab>= 14.0.0, < 14.0.7
gitlabgitlab>= 14.1.0, < 14.1.2
gitlabgitlab>= 14.1.0, < 14.1.2

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2021-22242