XSS in GitLab
CVE-2025-2254
An issue has been discovered in GitLab CE/EE affecting all versions from 17.9 before 17.10.8, 17.11 before 17.11.4, and 18.0 before 18.0.2. Improper output encoding in the snipper viewer functionality lead to Cross-Site scripting attacks.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.003 (20.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 21st percentile — 20.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: +0.000
Affected products
- GitLab — versions 17.9, 17.11, 18.0
Weakness classification (CWE)
References
- gitlab.com/gitlab-org/gitlab/-/issues/524636 (issue-tracking, permissions-required, Broken Link)
- hackerone.com/reports/2973939 (Permissions Required, technical-description, permissions-required, exploit)
Frequently asked questions
- What is CVE-2025-2254?
- CVE-2025-2254 is a high-severity vulnerability in GitLab, classified under Cross-site Scripting. CVSS score: 8.7/10. Published 2025-06-12.
- How severe is CVE-2025-2254?
- High severity. CVSS v3 base score is 8.7 out of 10.