{
    "document": {
        "category": "csaf_base",
        "csaf_version": "2.0",
        "distribution": {
            "tlp": {
                "label": "WHITE"
            }
        },
        "lang": "en",
        "notes": [
            {
                "category": "legal_disclaimer",
                "text": "The Netherlands Cyber Security Center (henceforth: NCSC-NL) maintains this portal to enhance access to its information and vulnerabilities. The use of this information is subject to the following terms and conditions:\n\nThe vulnerabilities disclosed in this portal are gathered by NCSC-NL from a variety of open sources, which the user can retrieve from other platforms. NCSC-NL makes every reasonable effort to ensure that the content of this portal is kept up to date, and that it is accurate and complete. Nevertheless, NCSC-NL cannot entirely rule out the possibility of errors, and therefore cannot give any warranty in respect of its completeness, accuracy or real-time keeping up-to-date. NCSC-NL does not control nor guarantee the accuracy, relevance, timeliness or completeness of information obtained from these external sources. The vulnerabilities disclosed in this portal are intended solely for the convenience of professional parties to take appropriate measures to manage the risks posed to the cybersecurity. No rights can be derived from the information provided therein.\n\nNCSC-NL and the Kingdom of the Netherlands assume no legal liability or responsibility for any damage resulting from either the use or inability of use of the vulnerabilities disclosed in this portal. This includes damage resulting from the inaccuracy of incompleteness of the information contained in it.\nThe information on this page is subject to Dutch law. All disputes related to or arising from the use of this portal regarding the disclosure of vulnerabilities will be submitted to the competent court in The Hague. This choice of means also applies to the court in summary proceedings."
            }
        ],
        "publisher": {
            "category": "coordinator",
            "contact_details": "cert@ncsc.nl",
            "name": "National Cyber Security Centre",
            "namespace": "https://www.ncsc.nl/"
        },
        "title": "CVE-2026-10585",
        "tracking": {
            "current_release_date": "2026-07-03T19:43:42.035767Z",
            "generator": {
                "date": "2026-02-17T15:00:00Z",
                "engine": {
                    "name": "V.E.L.M.A",
                    "version": "1.7"
                }
            },
            "id": "CVE-2026-10585",
            "initial_release_date": "2026-06-30T22:27:01.898495Z",
            "revision_history": [
                {
                    "date": "2026-06-30T22:27:01.898495Z",
                    "number": "1",
                    "summary": "CVE created.| Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| References created (4).| CWES updated (1)."
                },
                {
                    "date": "2026-06-30T22:27:07.224017Z",
                    "number": "2",
                    "summary": "NCSC Score created."
                },
                {
                    "date": "2026-06-30T23:01:01.245823Z",
                    "number": "3",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| Products connected (4).| References created (4).| CWES updated (1)."
                },
                {
                    "date": "2026-06-30T23:01:03.261589Z",
                    "number": "4",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-06-30T23:26:15.518076Z",
                    "number": "5",
                    "summary": "Description removed for source.| Description created for source."
                },
                {
                    "date": "2026-07-01T11:35:12.110319Z",
                    "number": "6",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-07-01T12:49:24.908874Z",
                    "number": "7",
                    "summary": "Source created.| CVE status created. (valid)| Products created (5).| References created (7)."
                },
                {
                    "date": "2026-07-01T12:49:27.512197Z",
                    "number": "8",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-07-01T13:42:32.986751Z",
                    "number": "9",
                    "summary": "Description removed for source.| Description created for source.| Products connected (1).| References created (1)."
                },
                {
                    "date": "2026-07-01T13:42:38.194064Z",
                    "number": "10",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-07-01T14:45:45.537373Z",
                    "number": "11",
                    "summary": "Source connected.| CVE status created. (valid)| EPSS created."
                },
                {
                    "date": "2026-07-01T14:45:48.907071Z",
                    "number": "12",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-07-01T15:38:54.010617Z",
                    "number": "13",
                    "summary": "Description removed for source.| Description created for source.| References created (1)."
                },
                {
                    "date": "2026-07-01T15:39:04.768054Z",
                    "number": "14",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-07-01T17:04:12.802653Z",
                    "number": "15",
                    "summary": "Unknown change."
                },
                {
                    "date": "2026-07-02T16:35:30.932977Z",
                    "number": "16",
                    "summary": "CVSS created.| Products connected (5).| Product Identifiers created (5)."
                },
                {
                    "date": "2026-07-02T16:35:34.441396Z",
                    "number": "17",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-07-03T08:24:20.024377Z",
                    "number": "18",
                    "summary": "Source connected.| CVE status created. (valid)"
                },
                {
                    "date": "2026-07-03T19:43:01.137887Z",
                    "number": "19",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2026-07-03T19:43:09.487625Z",
                    "number": "20",
                    "summary": "NCSC Score updated."
                }
            ],
            "status": "interim",
            "version": "20"
        }
    },
    "product_tree": {
        "branches": [
            {
                "branches": [
                    {
                        "branches": [
                            {
                                "category": "product_version_range",
                                "name": "vers:semver/3.16.0|<=3.16.19",
                                "product": {
                                    "name": "vers:semver/3.16.0|<=3.16.19",
                                    "product_id": "CSAFPID-7766071"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:semver/3.17.0|<=3.17.16",
                                "product": {
                                    "name": "vers:semver/3.17.0|<=3.17.16",
                                    "product_id": "CSAFPID-7766073"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:semver/3.18.0|<=3.18.10",
                                "product": {
                                    "name": "vers:semver/3.18.0|<=3.18.10",
                                    "product_id": "CSAFPID-7766075"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:semver/3.19.0|<=3.19.7",
                                "product": {
                                    "name": "vers:semver/3.19.0|<=3.19.7",
                                    "product_id": "CSAFPID-7766077"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:semver/3.20.0|<=3.20.3",
                                "product": {
                                    "name": "vers:semver/3.20.0|<=3.20.3",
                                    "product_id": "CSAFPID-7766079"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/<3.16.20",
                                "product": {
                                    "name": "vers:unknown/<3.16.20",
                                    "product_id": "CSAFPID-8527977",
                                    "product_identification_helper": {
                                        "cpe": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*"
                                    }
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/>=3.17.0|<3.17.17",
                                "product": {
                                    "name": "vers:unknown/>=3.17.0|<3.17.17",
                                    "product_id": "CSAFPID-8527978",
                                    "product_identification_helper": {
                                        "cpe": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*"
                                    }
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/>=3.18.0|<3.18.11",
                                "product": {
                                    "name": "vers:unknown/>=3.18.0|<3.18.11",
                                    "product_id": "CSAFPID-8527979",
                                    "product_identification_helper": {
                                        "cpe": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*"
                                    }
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/>=3.19.0|<3.19.8",
                                "product": {
                                    "name": "vers:unknown/>=3.19.0|<3.19.8",
                                    "product_id": "CSAFPID-8527980",
                                    "product_identification_helper": {
                                        "cpe": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*"
                                    }
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/>=3.20.0|<3.20.4",
                                "product": {
                                    "name": "vers:unknown/>=3.20.0|<3.20.4",
                                    "product_id": "CSAFPID-8527981",
                                    "product_identification_helper": {
                                        "cpe": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*"
                                    }
                                }
                            }
                        ],
                        "category": "product_name",
                        "name": "Enterprise Server"
                    }
                ],
                "category": "vendor",
                "name": "GitHub"
            },
            {
                "branches": [
                    {
                        "branches": [
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/server <3.17.17",
                                "product": {
                                    "name": "vers:unknown/server <3.17.17",
                                    "product_id": "CSAFPID-8522919"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/server <3.18.11",
                                "product": {
                                    "name": "vers:unknown/server <3.18.11",
                                    "product_id": "CSAFPID-8522920"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/server <3.19.8",
                                "product": {
                                    "name": "vers:unknown/server <3.19.8",
                                    "product_id": "CSAFPID-8522921"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/server <3.20.4",
                                "product": {
                                    "name": "vers:unknown/server <3.20.4",
                                    "product_id": "CSAFPID-8522918"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/server <3.21.2",
                                "product": {
                                    "name": "vers:unknown/server <3.21.2",
                                    "product_id": "CSAFPID-8522922"
                                }
                            }
                        ],
                        "category": "product_name",
                        "name": "GitHub Enterprise"
                    }
                ],
                "category": "vendor",
                "name": "Microsoft"
            }
        ]
    },
    "vulnerabilities": [
        {
            "cve": "CVE-2026-10585",
            "cwe": {
                "id": "CWE-79",
                "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
            },
            "notes": [
                {
                    "category": "description",
                    "text": "A stored cross-site scripting vulnerability was identified in GitHub Enterprise Server that allowed an authenticated attacker to execute arbitrary JavaScript in another user's browser by injecting a crafted payload into the title of a Discussion in the Q&A category. The AnsweredQuestionStructuredDataComponent did not escape user-controlled Discussion titles before embedding them in a <script type=\"application/ld+json\"> block, allowing the title to break out of the script context. The injection was escalated to a full cross-site scripting attack on GitHub Enterprise Server by leveraging JSONP callback support in the REST API to bypass the Content Security Policy. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.21 and was fixed in versions 3.20.4, 3.19.8, 3.18.11, 3.17.17, 3.16.20. This vulnerability was reported via the GitHub Bug Bounty program.",
                    "title": "cveprojectv5 - https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/10xxx/CVE-2026-10585.json"
                },
                {
                    "category": "description",
                    "text": "A stored cross-site scripting vulnerability was identified in GitHub Enterprise Server that allowed an authenticated attacker to execute arbitrary JavaScript in another user's browser by injecting a crafted payload into the title of a Discussion in the Q&A category. The AnsweredQuestionStructuredDataComponent did not escape user-controlled Discussion titles before embedding them in a <script type=\"application/ld+json\"> block, allowing the title to break out of the script context. The injection was escalated to a full cross-site scripting attack on GitHub Enterprise Server by leveraging JSONP callback support in the REST API to bypass the Content Security Policy. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.21 and was fixed in versions 3.20.4, 3.19.8, 3.18.11, 3.17.17, 3.16.20. This vulnerability was reported via the GitHub Bug Bounty program.",
                    "title": "nvd - https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-10585"
                },
                {
                    "category": "other",
                    "text": "0.00184",
                    "title": "EPSS"
                },
                {
                    "category": "other",
                    "text": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
                    "title": "CVSSV4"
                },
                {
                    "category": "other",
                    "text": "6.3",
                    "title": "CVSSV4 base score"
                },
                {
                    "category": "other",
                    "text": "5.6",
                    "title": "NCSC Score"
                },
                {
                    "category": "other",
                    "text": "Is related to a product by vendor Microsoft, There is product data available from source Certbundde",
                    "title": "NCSC Score top increasing factors"
                },
                {
                    "category": "other",
                    "text": "Is related to CWE-79 (Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')), The value of the most recent EPSS score",
                    "title": "NCSC Score top decreasing factors"
                }
            ],
            "product_status": {
                "known_affected": [
                    "CSAFPID-7766073",
                    "CSAFPID-7766075",
                    "CSAFPID-7766077",
                    "CSAFPID-7766079",
                    "CSAFPID-8522918",
                    "CSAFPID-8522919",
                    "CSAFPID-8522920",
                    "CSAFPID-8522921",
                    "CSAFPID-8522922",
                    "CSAFPID-7766071",
                    "CSAFPID-8527977",
                    "CSAFPID-8527978",
                    "CSAFPID-8527979",
                    "CSAFPID-8527980",
                    "CSAFPID-8527981"
                ]
            },
            "references": [
                {
                    "category": "external",
                    "summary": "Source - nvd",
                    "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-10585"
                },
                {
                    "category": "external",
                    "summary": "Source - cveprojectv5",
                    "url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/10xxx/CVE-2026-10585.json"
                },
                {
                    "category": "external",
                    "summary": "Source - certbundde",
                    "url": "https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2164.json"
                },
                {
                    "category": "external",
                    "summary": "Source - first",
                    "url": "https://api.first.org/data/v1/epss?limit=10000&offset=20000"
                },
                {
                    "category": "external",
                    "summary": "Source - ncscclear",
                    "url": "https://advisories.ncsc.nl/advisory?id=NCSC-2026-0219"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde; cveprojectv5; nvd",
                    "url": "https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.17"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde; cveprojectv5; nvd",
                    "url": "https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.11"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde; cveprojectv5; nvd",
                    "url": "https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.8"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde; cveprojectv5; nvd",
                    "url": "https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.4"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2164.json"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2164"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.2"
                },
                {
                    "category": "external",
                    "summary": "Reference - cveprojectv5; nvd",
                    "url": "https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.20"
                }
            ],
            "scores": [
                {
                    "cvss_v3": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
                        "baseScore": 5.4,
                        "baseSeverity": "MEDIUM"
                    },
                    "products": [
                        "CSAFPID-7766071",
                        "CSAFPID-7766073",
                        "CSAFPID-7766075",
                        "CSAFPID-7766077",
                        "CSAFPID-7766079",
                        "CSAFPID-8522918",
                        "CSAFPID-8522919",
                        "CSAFPID-8522920",
                        "CSAFPID-8522921",
                        "CSAFPID-8522922",
                        "CSAFPID-8527977",
                        "CSAFPID-8527978",
                        "CSAFPID-8527979",
                        "CSAFPID-8527980",
                        "CSAFPID-8527981"
                    ]
                }
            ],
            "title": "CVE-2026-10585"
        }
    ]
}