What’s Vulnerable › Vulnerabilities
CVE-2024-7047: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-07-25 · updated 2026-06-17
- Weakness: CWE-79
Description
A cross site scripting vulnerability exists in GitLab CE/EE affecting all versions from 16.6 prior to 17.0.5, 17.1 prior to 17.1.3, 17.2 prior to 17.2.1 allowing an attacker to execute arbitrary scripts under the context of the current logged in user.
Affected products
- GitLab: from 16.6.0 before 17.0.5; from 17.1.0 before 17.1.3; 7.2.0 — fixed in 17.0.5, 17.1.3
How to fix
Upgrade to a fixed version: GitLab 17.0.5, 17.1.3. Check the vendor advisory for mitigations.
References
- https://gitlab.com/gitlab-org/gitlab/-/issues/455318
- https://gitlab.com/gitlab-org/gitlab/-/issues/455318
Get alerted when CVE-2024-7047 or the next vulnerability affects your stack