CVE-2025-0475
Published: 03 March 2025
Summary
CVE-2025-0475 is a high-severity Cross-site Scripting (CWE-79) vulnerability in Gitlab Gitlab. Its CVSS base score is 8.7 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Browser Session Hijacking (T1185); ranked in the top 21.1% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-15 (Information Output Filtering).
Deeper analysis
CVE-2025-0475 is a cross-site scripting vulnerability (CWE-79) in GitLab Community Edition and Enterprise Edition. It affects all versions from 15.10 up to but not including 17.7.6, 17.8 up to but not including 17.8.4, and 17.9 up to but not including 17.9.1. The flaw resides in a proxy feature that can permit unintended content rendering under specific circumstances, producing reflected or stored XSS.
An attacker with low-privileged authenticated access can trigger the issue over the network with minimal complexity and user interaction from a victim. Successful exploitation yields changed scope and high impact on confidentiality and integrity, allowing arbitrary script execution that can compromise other users' sessions or data within the affected GitLab instance.
The published version constraints indicate that mitigation requires upgrading to 17.7.6, 17.8.4, or 17.9.1 or later. The associated EPSS score has remained flat at 0.0115 with no material increase since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-5775
Vulnerability details
An issue has been discovered in GitLab CE/EE affecting all versions from 15.10 prior to 17.7.6, 17.8 prior to 17.8.4, and 17.9 prior to 17.9.1. A proxy feature could potentially allow unintended content rendering leading to XSS under specific circumstances.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
XSS in web proxy directly enables browser session hijacking and theft of web session cookies via malicious script execution in victim context.
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Information output filtering directly prevents XSS by ensuring unintended content from the GitLab proxy feature is sanitized or encoded before rendering.
Information input validation rejects or sanitizes malicious payloads crafted for the proxy feature, blocking XSS exploitation.
Flaw remediation mandates timely patching of the GitLab proxy vulnerability, eliminating the root cause of unintended content rendering.