CVE-2026-1090
8.7GitLab · GitLab CE/EE
GitLab CE/EE is vulnerable to stored cross-site scripting (XSS) when the markdown_placeholders feature flag is enabled, allowing authenticated users to inject malicious JavaScript.
Executive summary
A vulnerability in GitLab CE/EE allows authenticated users to execute malicious JavaScript in a victim's browser, posing a significant risk of session hijacking and data theft.
Vulnerability
This is an improper neutralization of input during web page generation, classified as CWE-79. The vulnerability allows an authenticated user to inject arbitrary JavaScript into the browser of another user due to improper sanitization of placeholder content within markdown processing.
Business impact
The vulnerability carries a high CVSS score of 8.7, reflecting the potential for significant impact on confidentiality and integrity. Successful exploitation could lead to unauthorized actions performed on behalf of legitimate users, potential session theft, and the exposure of sensitive data handled within the GitLab instance.
Remediation
Immediate Action: Upgrade GitLab CE/EE installations to versions 18.7.6, 18.8.6, 18.9.2, or later to apply the necessary sanitization fixes.
Proactive Monitoring: Review access logs for unusual markdown activity or unexpected script execution patterns within issue and merge request comments.
Compensating Controls: Implement a strict Content Security Policy (CSP) to restrict the sources from which scripts can be executed, reducing the impact of potential XSS attacks.
Exploitation status
Public Exploit Available: Yes, a published proof-of-concept exists, as documented in the HackerOne report referenced by the CVE record.
Analyst recommendation
Given the high severity of this cross-site scripting vulnerability and the availability of a published proof-of-concept, immediate patching is required. Administrators should prioritize upgrading to the specified safe versions to prevent potential unauthorized access and session compromise within their GitLab environment.
More GitLab CVEs
Sources
Originally found and disclosed by Thanks [yvvdwf](https://hackerone.com/yvvdwf) for reporting this vulnerability through our HackerOne bug bounty program, per the CVE Program record.
- HackerOne Bug Bounty Report #3502450 Exploit / PoC
- gitlab.com
- about.gitlab.com