GitLab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*, +2 more
- >= 16.6, < 17.7.6
- >= 17.8, < 17.8.4
- >= 17.9, < 17.9.1
A vulnerability exists in GitLab Community Edition (CE) and Enterprise Edition (EE) versions 16.6 prior to 17.7.6, 17.8 prior to 17.8.4, and 17.9 prior to 17.9.1. This vulnerability allows an attacker to inject HTML into the child item search on the issue page, potentially leading to cross-site scripting (XSS) in certain situations. The issue arises because user-controlled content is sent directly into a component that renders HTML, bypassing security measures that are supposed to sanitize such input.
Exploitation of this vulnerability allows for HTML injection, which can be used to execute scripts in the context of the user viewing the injected content, leading to cross-site scripting (XSS) attacks.
To reproduce this vulnerability, create a new group and subgroup, then upload a malicious SVG file containing JavaScript into a project within the subgroup. Afterward, create an issue in a different project and inject the SVG file reference into a task name. When the issue is viewed, the injected script will execute, demonstrating the XSS vulnerability.
Users can update to GitLab versions 17.8.4 or 17.9.1 to address this vulnerability.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.