CVE-2022-4007: GitLab - Reflected XSS
- Cve: CVE-2022-4007
- Name: GitLab - Reflected XSS
- Description: A issue has been discovered in GitLab CE/EE affecting all versions from 15.3 prior to 15.7.8, version 15.8 prior to 15.8.4, and version 15.9 prior to 15.9.2 A cross-site scripting vulnerability was found in the title field of work items that allowed attackers to perform arbitrary actions on behalf of victims at client side.
- Impact: Attackers can execute arbitrary scripts in victims' browsers, potentially leading to session hijacking or malicious actions.
- Remediation: Update to version 15.7.8, 15.8.4, or 15.9.2 or later.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Victim needs to view malicious work item
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.0055
- Epss percentile: 0.46929
- Assignee: [email protected]
- Published at: 2023-03-08T23:15:10Z
- Age in days: 1357
- Modified at: 2026-06-17T05:19:44Z
- Patch available: yes
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-4007
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
| Url | Source | Tags |
|---|---|---|
| https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-4007.json | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gitlab:gitlab | >= 15.9.0, < 15.9.2; >= 15.8.0, < 15.8.4; >= 15.3, < 15.7.8 | no | nvd | /v1/products/gitlab/gitlab |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 66493
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports