CVE-2026-2973

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

State
Published
Severity
5.4 Medium
Published
Mar 25, 2026
Updated
Mar 26, 2026
Reserved
Feb 22, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NGitLab

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
GitLabGitLab
  • 17.7 to before 18.8.7Affected
  • 18.9 to before 18.9.3Affected
  • 18.10 to before 18.10.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.