Cross-site scriptingin GitLab.
No public exploit found; not on exploited lists.
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 17.7 before 18.8.7, 18.9 before 18.9.3, and 18.10 before 18.10.1 that could have allowed an authenticated user to execute arbitrary JavaScript in a user's browser due to improper sanitization of entity-encoded content in Mermaid diagrams.
- Upgrade GitLab to 18.8.7, 18.9.3, 18.10.1 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 22 Feb 2026CVE ID reserved by GitLab.
- 25 Mar 2026Published in the CVE List.
- 26 Mar 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other GitLab vulnerabilities
Same weakness: Cross-site scripting
Patchminder. CVE-2026-2973: Cross-site scripting in GitLab. https://patchminder.com/cve/cve-2026-2973/ (accessed 5 December 2026).