CVE-2026-0752: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab

Published Feb 25, 2026
·
Updated

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 16.2 before 18.7.5, 18.8 before 18.8.5, and 18.9 before 18.9.1 that under certain circumstances, could have allowed an unauthenticated user to inject arbitrary scripts into the Mermaid sandbox UI.

Other sources

GitLab has remediated an issue that under certain circumstances, could have allowed an unauthenticated user to inject arbitrary scripts into the Mermaid sandbox UI.

GitLab

Affected Software

7 affected componentsFixes available
GitLab GitLab>=16.2<18.7.5, >=18.8<18.8.5, >=18.9<18.9.1
18.7.518.8.518.9.1
GitLab GitLab>=16.2.0<18.7.5
GitLab GitLab>=16.2.0<18.7.5
GitLab GitLab>=18.8.0<18.8.5
GitLab GitLab>=18.8.0<18.8.5
GitLab GitLab=18.9.0
GitLab GitLab=18.9.0

Remediation

Information

Upgrade to versions 18.7.5, 18.8.5, 18.9.1 or above.

Event History

Feb 25, 2026
CVE Published
via MITRE·08:05 PM
Data Sourced
via MITRE·08:05 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeaknessAffected Software
Apr 22, 2026
Data Sourced
via GitLab·01:58 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-0752?

CVE-2026-0752 is classified as a medium severity vulnerability due to its potential for cross-site scripting attacks.

2

How do I fix CVE-2026-0752?

To fix CVE-2026-0752, upgrade GitLab to the latest version beyond the affected versions: 18.7.5, 18.8.5, or 18.9.1.

3

Which versions of GitLab are affected by CVE-2026-0752?

CVE-2026-0752 affects GitLab versions from 16.2 up to 18.7.5, 18.8 up to 18.8.5, and 18.9 up to 18.9.1.

4

What type of vulnerability is CVE-2026-0752?

CVE-2026-0752 is a Cross-site Scripting (XSS) vulnerability affecting the Mermaid sandbox in GitLab.

5

Can unauthenticated users exploit CVE-2026-0752?

Yes, an unauthenticated user could potentially exploit CVE-2026-0752 to inject arbitrary scripts into the Mermaid sandbox UI.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203