Skip to content
Emerging threatsMedium

CVE-2021-22238GitLab XSS

GitLab was vulnerable to a stored XSS by using the design feature in issues.

Published Aug 20, 2021 · Updated Oct 30, 2026 · Also known as BIT-gitlab-2021-22238, UBUNTU-CVE-2021-22238

Key Facts

Patch immediately
  • CVE-2021-22238 is a medium-severity vulnerability (CVSS 5.4 v3.1) affecting GitLab.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 72% probability of exploitation in the next 30 days.
  • Fixed versions are available, including GitLab 14.0.7, GitLab 14.1.2, GitLab 14.2.2-1.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v3.1

5.4

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

EPSS (30-day exploit likelihood)

72%

Higher than 99.4% of all scored CVEs

Exploit maturity

None known

ATLAS score

28/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

An issue has been discovered in GitLab affecting all versions starting with 13.3. GitLab was vulnerable to a stored XSS by using the design feature in issues.

Affected Products

7 affected entries in total
ProductAffected versionsFixed in
GitLabGitlab>= 14.0.0, >=14.1, <14.1.213.12.9

Patched Releases

GitLab

14.0.7, 14.1.2, 14.2.2-1, 15.10.8+ds1-2, 13.12.9

Timeline

  1. Publicly disclosed

    Aug 20, 2021

  2. Last updated

    Oct 30, 2026

Weakness Type

  • CWE-79 Improper Neutralization of Input During Web Page Generation

FAQ

Common Questions.

Is CVE-2021-22238 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.