What’s Vulnerable › Vulnerabilities
CVE-2022-2904
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-11-02 · updated 2026-06-17
- Weakness: CWE-79
Description
A cross-site scripting issue has been discovered in GitLab CE/EE affecting all versions starting from 15.2 before 15.2.5, all versions starting from 15.3 before 15.3.4, all versions starting from 15.4 before 15.4.1 It was possible to exploit a vulnerability in the external status checks feature which could lead to a stored XSS that allowed attackers to perform arbitrary actions on behalf of victims at client side.
Affected products
- GitLab: from 15.2 before 15.2.5; from 15.2 through 15.2.5; from 15.3 before 15.3.4; from 15.3 through 15.3.4; 15.4 — fixed in 15.2.5, 15.3.4
How to fix
Upgrade to a fixed version: GitLab 15.2.5, 15.3.4. Check the vendor advisory for mitigations.
References
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2904.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/367408
- https://hackerone.com/reports/1628009
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2904.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/367408
- https://hackerone.com/reports/1628009
Get alerted when CVE-2022-2904 or the next vulnerability affects your stack