CVE-2021-22242

Source
https://cve.org/CVERecord?id=CVE-2021-22242
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22242.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-22242
Aliases
Downstream
Published
2021-08-25T19:15:10.750Z
Modified
2026-04-10T04:30:00.514490Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Git / gitlab.com/gitlab-org/gitlab

Affected ranges

Type
GIT
Repo
https://gitlab.com/gitlab-org/gitlab
Events
Database specific
{
    "versions": [
        {
            "introduced": "11.4.0"
        },
        {
            "fixed": "13.12.9"
        },
        {
            "introduced": "11.4.0"
        },
        {
            "fixed": "13.12.9"
        },
        {
            "introduced": "14.0.0"
        },
        {
            "fixed": "14.0.7"
        },
        {
            "introduced": "14.0.0"
        },
        {
            "fixed": "14.0.7"
        },
        {
            "introduced": "14.1.0"
        },
        {
            "fixed": "14.1.2"
        },
        {
            "introduced": "14.1.0"
        },
        {
            "fixed": "14.1.2"
        }
    ]
}

Affected versions

v14.*
v14.0.0-ee
v14.0.1-ee
v14.0.3-ee
v14.0.5-ee
v14.0.6-ee
v14.1.0-ee
v14.1.1-ee

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22242.json"