CVE-2025-2254 PUBLISHED

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

Assigner: GitLab
Reserved: 12.03.2025 Published: 12.06.2025 Updated: 12.06.2025

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
CVSS Score: 8.7

Product Status

Vendor GitLab
Product GitLab
Versions Default: unaffected
  • affected from 17.9 to 17.10.8 (excl.)
  • affected from 17.11 to 17.11.4 (excl.)
  • affected from 18.0 to 18.0.2 (excl.)

Solutions

Upgrade to versions 17.10.8, 17.11.4, 18.0.2 or above.

Credits

  • Thanks [yvvdwf](https://hackerone.com/yvvdwf) for reporting this vulnerability through our HackerOne bug bounty program finder

References

Problem Types

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