CVE-2024-8312

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-8312
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8312.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-8312
Aliases
Downstream
Published
2024-10-24T09:30:43.270Z
Modified
2025-12-05T08:51:01.719589Z
Severity
  • 8.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N CVSS Calculator
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 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8312.json",
    "cwe_ids": [
        "CWE-79"
    ],
    "cna_assigner": "GitLab"
}
References

Affected packages

Git / gitlab.com/gitlab-org/gitlab

Affected ranges

Type
GIT
Repo
https://gitlab.com/gitlab-org/gitlab
Events
Database specific
{
    "versions": [
        {
            "introduced": "15.10"
        },
        {
            "fixed": "17.3.6"
        }
    ]
}
Type
GIT
Repo
https://gitlab.com/gitlab-org/gitlab
Events
Database specific
{
    "versions": [
        {
            "introduced": "17.4"
        },
        {
            "fixed": "17.4.3"
        }
    ]
}
Type
GIT
Repo
https://gitlab.com/gitlab-org/gitlab
Events
Database specific
{
    "versions": [
        {
            "introduced": "17.5"
        },
        {
            "fixed": "17.5.1"
        }
    ]
}

Affected versions

v17.*

v17.4.0-ee
v17.4.1-ee
v17.4.1-rc10-ee
v17.4.2-ee
v17.5.0-ee