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
| Vendor | Product | Affected 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.
References
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22182.json Vendor Advisory
- https://gitlab.com/gitlab-org/gitlab/-/issues/280779 Exploit Third Party Advisory
- https://hackerone.com/reports/1030189 Permissions Required Third Party Advisory
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)
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published3 Mar 2021
Updated31 Oct 2026
First seen14 Mar 2026
Track software like this
Free during beta