{"id":"CVE-2025-2254","aliases":["BIT-gitlab-2025-2254","EUVD-2025-18168","GHSA-27jm-6pj2-8w7g","UBUNTU-CVE-2025-2254"],"status":"published","title":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab","description":"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.","severity":{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.0031,"percentile":0.24057,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2025-06-12T10:02:40Z","modified":"2026-10-30T10:47:11Z","fixes":[{"ecosystem":"Bitnami","package":"gitlab","fixed_in":["18.0.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"17.9.0"},{"fixed":"18.0.2"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"]}],"products":[{"vendor":"gitlab","product":"gitlab"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/524636","tags":["issue-tracking","permissions-required","Broken Link","web","report"]},{"url":"https://hackerone.com/reports/2973939","tags":["technical-description","exploit","permissions-required","Permissions Required","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2254","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-27jm-6pj2-8w7g"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2254.json","tags":["advisory"]},{"url":"git://git@gitlab.com:gitlab-org/gitlab.git","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2025-2254","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-2254","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-2254","title":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab","description":"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.","status":"published","published":"2025-06-12T10:02:40.003Z","modified":"2025-06-12T13:42:30.11Z","cvss":[{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:32:38.70481Z"}],"euvd":[{"id":"EUVD-2025-18168","description":"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.","status":"published","published":"2025-06-12T10:02:40Z","modified":"2025-06-12T13:42:30Z","cvss":[{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T20:32:24.598995Z"}],"ghsa":[{"id":"GHSA-27jm-6pj2-8w7g","title":"An issue has been discovered in GitLab CE/EE affecting all versions from 17.9 before 17.10.8, 17...","description":"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.","status":"published","published":"2025-06-12T12:32:03Z","modified":"2025-06-12T12:32:09Z","cvss":[{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:02:42.160981Z"}],"nvd":[{"id":"CVE-2025-2254","description":"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.","status":"published","published":"2025-06-12T10:16:38.747Z","modified":"2026-06-17T09:06:38.15Z","cvss":[{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:11:11.789448Z"}],"osv":[{"id":"CVE-2025-2254","title":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab","description":"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.","status":"published","published":"2025-06-12T10:02:40.003Z","modified":"2026-10-30T10:47:11.794772269Z","cvss":[{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:47.009967Z"},{"id":"UBUNTU-CVE-2025-2254","description":"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.","status":"published","published":"2025-06-12T10:16:00Z","modified":"2025-10-24T05:16:30Z","cvss":[{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","level":"high"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T16:55:26.330196Z"},{"id":"BIT-gitlab-2025-2254","title":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab","description":"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.","status":"published","published":"2025-06-14T06:15:17.406Z","modified":"2026-09-10T16:01:38.592306249Z","updated_at":"2026-11-02T15:28:30.70064Z"}]}}
