{"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-04-10T05:20:15.464227Z","published":"2025-01-24T02:30:44.273Z","related":["CGA-2rx9-qqcp-jwfm"],"database_specific":{"cwe_ids":["CWE-79"],"cna_assigner":"GitLab","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0314.json"},"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"}],"database_specific":{"versions":[{"introduced":"17.2"},{"fixed":"17.6.4"}]}},{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"1fd574ee5710155adf5307fba45132264dcb64a1"},{"fixed":"2aa74e88172ac60f71fd52f9bbf525f5dfab4a9a"}],"database_specific":{"versions":[{"introduced":"17.7"},{"fixed":"17.7.3"}]}},{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"f03594b9e09b648c839e9c008286a24c93c82373"},{"fixed":"a303ad659b5ac357f7fc47e48d10f1827db340ac"}],"database_specific":{"versions":[{"introduced":"17.8"},{"fixed":"17.8.1"}]}}],"versions":["v17.7.0-ee","v17.7.2-ee","v17.8.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-0314.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"}]}