{"id":"CVE-2025-2254","summary":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab","details":"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.","aliases":["BIT-gitlab-2025-2254"],"modified":"2026-04-10T05:22:45.457226Z","published":"2025-06-12T10:02:40.003Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2254.json","cna_assigner":"GitLab"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2254.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2254"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/524636"},{"type":"REPORT","url":"https://hackerone.com/reports/2973939"},{"type":"PACKAGE","url":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"f5041566b342c2f30a8d63b8117272c454e18410"},{"fixed":"66f725cc002c2eee98e0cfee8521025dd7a4eb6e"}],"database_specific":{"versions":[{"introduced":"17.9"},{"fixed":"17.10.8"}]}},{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"b7c061ce59a5eca5c5764fcf61be8a5103fb7d55"},{"fixed":"eb2929592bc8e3c7b766d886766a098f10b33eb1"}],"database_specific":{"versions":[{"introduced":"17.11"},{"fixed":"17.11.4"}]}},{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"504fd9e5236e13d674e051c6b8a1e9892b371c58"},{"fixed":"073fca15cf94474af5984eda431aefd84307ec03"}],"database_specific":{"versions":[{"introduced":"18.0"},{"fixed":"18.0.2"}]}}],"versions":["v17.11.0-ee","v18.0.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-2254.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"}]}