Security mailing lists by PureSourceCode

CVE-2021-22242

MEDIUM 5.4CVSS 3.1

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

Published
25 Aug 2021
Last modified
17 Jun 2026
Assigned by
cve@gitlab.com
NVD status
Modified
Weakness
CWE-79
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD cve@gitlab.com (Secondary) CVSS 3.1 HIGH 8.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 3.5 AV:N/AC:M/Au:S/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gitlab gitlab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
>= 11.4.0, < 13.12.9 13.12.9
NVD gitlab gitlab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
>= 11.4.0, < 13.12.9 13.12.9
NVD gitlab gitlab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
>= 14.0.0, < 14.0.7 14.0.7
NVD gitlab gitlab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
>= 14.0.0, < 14.0.7 14.0.7
NVD gitlab gitlab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
>= 14.1.0, < 14.1.2 14.1.2
NVD gitlab gitlab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
>= 14.1.0, < 14.1.2 14.1.2

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 25 Aug 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.