CVE-2022-4092
Published: 26 January 2023
Summary
CVE-2022-4092 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Gitlab Gitlab. Its CVSS base score is 5.7 (Medium).
Operationally, ranked in the top 10.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
CVE-2022-4092 is a cross-site scripting vulnerability (CWE-79) in GitLab EE caused by improper neutralization of user-supplied input. The flaw affects all versions from 15.6 up to but not including 15.6.1 and permits creation of a malicious README page that can be rendered in other users' browsers.
An authenticated attacker with low privileges can exploit the issue over the network by uploading crafted content to a README file. Successful exploitation requires a victim to view the page and can result in disclosure of sensitive information from the victim's session, as reflected in the CVSS vector AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N.
The referenced GitLab advisories and issue trackers indicate that the vulnerability is resolved in version 15.6.1; administrators are expected to apply the update to eliminate the input-handling defect. The associated EPSS score has remained flat at 0.0505 with no material increase since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-51463
Vulnerability details
An issue has been discovered in GitLab EE affecting all versions starting from 15.6 before 15.6.1. It was possible to create a malicious README page due to improper neutralisation of user supplied input.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.