CVE-2022-3513
Description
An issue has been discovered in GitLab affecting all versions starting from 12.8 before 15.8.5, all versions starting from 15.9 before 15.9.4, all versions starting from 15.10 before 15.10.1. A specially crafted payload could lead to a reflected XSS on the client side which allows attackers to perform arbitrary actions on behalf of victims on self-hosted instances running without strict CSP.
Summary dbcve.org
A reflected cross-site scripting (XSS) vulnerability in GitLab allows attackers to inject malicious scripts through specially crafted payloads. The attack is reflected back to the victim's browser, enabling session hijacking and arbitrary actions on behalf of authenticated users. Self-hosted instances without strict Content Security Policy (CSP) headers are vulnerable.
Mitigation
Upgrade GitLab to version 15.8.5, 15.9.4, or 15.10.1 or later. Implement strict Content Security Policy headers as a defense-in-depth measure.