{"id":"CVE-2025-0314","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.2 before 17.6.4, 17.7 before 17.7.3, and 17.8 before 17.8.1. Improper rendering of certain file types lead to cross-site scripting.","aliases":["BIT-gitlab-2025-0314"],"modified":"2026-10-30T10:46:56.963749052Z","published":"2025-01-24T02:30:44.273Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0314.json","cna_assigner":"GitLab","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0314.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-0314"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/512118"},{"type":"REPORT","url":"https://hackerone.com/reports/2922313"},{"type":"PACKAGE","url":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"f1ebbe522423b514610449d0f6dc7a262f855314"},{"fixed":"895b46185b5908d7ac6ca2bfb578950b3c31a572"},{"introduced":"1fd574ee5710155adf5307fba45132264dcb64a1"},{"fixed":"2aa74e88172ac60f71fd52f9bbf525f5dfab4a9a"},{"introduced":"f03594b9e09b648c839e9c008286a24c93c82373"},{"last_affected":"f03594b9e09b648c839e9c008286a24c93c82373"}],"database_specific":{"extracted_events":[{"cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","range":[{"introduced":"17.2.0"},{"fixed":"17.6.4"}],"source":"CPE_RANGE"},{"range":[{"introduced":"17.2.0"},{"fixed":"17.6.4"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*"},{"cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","range":[{"introduced":"17.7.0"},{"fixed":"17.7.3"}],"source":"CPE_RANGE"},{"range":[{"introduced":"17.7.0"},{"fixed":"17.7.3"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*"},{"range":[{"introduced":"17.8.0"},{"last_affected":"17.8.0"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:gitlab:gitlab:17.8.0:*:*:*:community:*:*:*"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:gitlab:gitlab:17.8.0:*:*:*:enterprise:*:*:*","range":[{"introduced":"17.8.0"},{"last_affected":"17.8.0"}]}]}}],"versions":["17.8.0","v17.8.0-ee","v17.7.0-ee","v17.7.2-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-0314.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"}]}