{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-8312","id":"CVE-2024-8312","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 15.10 before 17.3.6, 17.4 before 17.4.3, and 17.5 before 17.5.1. An attacker could inject HTML into the Global Search field on a diff view leading to XSS.","descriptionLong":"An issue has been discovered in GitLab CE/EE affecting all versions from 15.10 before 17.3.6, 17.4 before 17.4.3, and 17.5 before 17.5.1. An attacker could inject HTML into the Global Search field on a diff view leading to XSS.","published":"2024-10-24T09:30:43.270Z","updated":"2026-10-28T02:30:34.307587897Z","reserved":"2024-08-29T15:02:19.275Z","status":"Analyzed","rejected":false,"assigner":"GitLab","metric":{"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","rating":"high","source":"GitLab"},"metrics":[{"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","rating":"high","source":"GitLab"},{"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","rating":"high","source":"gitlab.com"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"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","rating":"high","source":"OSV"}],"rating":"high","products":["GitLab"],"affectedProducts":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"15.10","status":"affected","lessThan":"17.3.6","versionType":"semver"},{"version":"17.4","status":"affected","lessThan":"17.4.3","versionType":"semver"},{"version":"17.5","status":"affected","lessThan":"17.5.1","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-79"],"aliases":["BIT-gitlab-2024-8312"],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/481819","tags":["issue-tracking","permissions-required","Exploit","Issue Tracking","report"]},{"url":"https://hackerone.com/reports/2659386","tags":["technical-description","exploit","permissions-required","Permissions Required","report"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8312.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8312","tags":["advisory"]},{"url":"git://git@gitlab.com:gitlab-org/gitlab.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00489,"epssPercentile":0.42802,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-8312","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8312","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-8312","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-8312","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["gitlab"],"critical":[],"attention":null}