CVE-2026-2973

Source
https://cve.org/CVERecord?id=CVE-2026-2973
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2973.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-2973
Aliases
Published
2026-03-25T16:34:03Z
Modified
2026-08-27T11:31:17Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
Details

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 17.7 before 18.8.7, 18.9 before 18.9.3, and 18.10 before 18.10.1 that could have allowed an authenticated user to execute arbitrary JavaScript in a user's browser due to improper sanitization of entity-encoded content in Mermaid diagrams.

Database specific
{
    "cna_assigner": "GitLab",
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2973.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "17.7"
                },
                {
                    "fixed": "18.8.7"
                },
                {
                    "introduced": "18.9"
                },
                {
                    "fixed": "18.9.3"
                },
                {
                    "introduced": "18.10"
                },
                {
                    "fixed": "18.10.1"
                }
            ],
            "source": "AFFECTED_FIELD"
        },
        {
            "extracted_events": [
                {
                    "introduced": "17.7"
                },
                {
                    "fixed": "18.8.7"
                },
                {
                    "introduced": "18.9"
                },
                {
                    "fixed": "18.9.3"
                },
                {
                    "introduced": "18.10"
                },
                {
                    "fixed": "18.10.1"
                }
            ],
            "source": "DESCRIPTION"
        }
    ]
}
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
{
    "cpe": [
        "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
        "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
        "cpe:2.3:a:gitlab:gitlab:18.10.0:*:*:*:community:*:*:*",
        "cpe:2.3:a:gitlab:gitlab:18.10.0:*:*:*:enterprise:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "17.7.0"
        },
        {
            "fixed": "18.8.7"
        },
        {
            "introduced": "18.9.0"
        },
        {
            "fixed": "18.9.3"
        },
        {
            "introduced": "18.10.0"
        },
        {
            "last_affected": "18.10.0"
        }
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING"
    ]
}

Affected versions

18.*
18.10.0
v18.*
v18.10.0-ee
v18.9.0-ee

Database specific

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