CVE-2025-4278

Source
https://cve.org/CVERecord?id=CVE-2025-4278
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-4278.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-4278
Aliases
Downstream
Published
2025-06-12T10:02:25Z
Modified
2026-10-24T10:52:01Z
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 Script-Related HTML Tags in a Web Page (Basic XSS) in GitLab
Details

An issue has been discovered in GitLab CE/EE affecting all versions starting with 18.0 before 18.0.2. Under certain conditions html injection in new search page could lead to account takeover.

Database specific
{
    "cna_assigner":  "GitLab",
    "cwe_ids":  [
        "CWE-80"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/4xxx/CVE-2025-4278.json"
}
References

Affected packages

Git / gitlab.com/gitlab-org/gitlab

Affected ranges

Type
GIT
Repo
https://gitlab.com/gitlab-org/gitlab
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "18.0"
                },
                {
                    "fixed":  "18.0.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "cpe":  "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
            "range":  [
                {
                    "introduced":  "18.0.0"
                },
                {
                    "fixed":  "18.0.2"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
            "range":  [
                {
                    "introduced":  "18.0.0"
                },
                {
                    "fixed":  "18.0.2"
                }
            ],
            "source":  "CPE_RANGE"
        }
    ]
}

Affected versions

v18.*
v18.0.0-ee

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-4278.json"