Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
5.4

CVE-2021-22182: GitLab Versions 13.7 and Later Allow Malicious Code to Run

CVE-2021-22182 · published 5 years ago
Summary

A security issue affects all versions of GitLab starting with 13.7. Attackers could inject malicious code into a merge request, which could then be executed on other users' browsers. To stay safe, update to the latest version of GitLab.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
gitlab gitlab >= 13.7.0, < 13.7.6
>= 13.8.0, < 13.8.2
cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
Original advisory text
An issue has been discovered in GitLab affecting all versions starting with 13.7. GitLab was vulnerable to a stored XSS in merge request.
An issue has been discovered in GitLab affecting all versions starting with 13.7. GitLab was vulnerable to a stored XSS in merge request.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit (estimated)
  • Gives an attacker partial control (estimated)
Severity
5.4 Medium
Exploitation
1% chance of attack within 30 days
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published3 Mar 2021
Updated31 Oct 2026
First seen14 Mar 2026
Sources
CVE-2021-22182 · NVD
Track software like this
Free during beta