CVE-2021-22225 json
Insufficient input sanitization in markdown in GitLab version 13.11 and up allows an attacker to exploit a stored cross-site scripting vuln…
published 5y ago modified last mo. also BIT-gitlab-2021-22225 , EUVD-2021-9371
- cvss
- 4.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
Insufficient input sanitization in markdown in GitLab version 13.11 and up allows an attacker to exploit a stored cross-site scripting vulnerability via a specially-crafted markdown
Patch / fix
- bitnami gitlab 13.11.6, 13.12.6, 14.0.2
- gitlab gitlab 13.11.6, 13.12.6, 14.0.2
- gitlab gitlab_enterprise 13.11.6, 13.12.6, 14.0.2
- gitlab Arch Linux 14.0.3-1
arch linux advisories AVG-2125
Is CVE-2021-22225 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.56% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/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 | 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | gitlab | >=13.11.3, <13.11.6 >=13.12.0, <13.12.6 >=14.0.0, <14.0.2 |
13.11.6 13.12.6 14.0.2 |
Affected products
- GitLab GitLab
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
gitlab.com
/gitlab-org/cves/-/blob/master/2021/CVE-2021-22225.json
vendor-advisory, advisory
-
gitlab.com
/gitlab-org/gitlab/-/issues/331051
broken-link, web
-
nvd.nist.gov
/vuln/detail/CVE-2021-22225
web
Sources
- CVE List CVE-2021-22225
- NVD CVE-2021-22225
- OSV BIT-gitlab-2021-22225
Fencer Intel 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.