CVE-2026-10585
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.
Leer descripción completaMostrar menos
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.
CVSS
- Versión: 4.0
- Vector: 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
- Puntuación base: 6.3
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.32%
- Percentil entre todas las CVEs puntuadas: 23
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (1)
CWE
- CWE-79
Referencias
- https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.20
- https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.17
- https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.11
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.8
- https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.4
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-10585",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-10585",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-07-01T15:36:51.127934Z"
}
}
],
"cvssMetricV31": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "CHANGED",
"version": "3.1",
"baseScore": 5.4,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
"integrityImpact": "LOW",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "LOW",
"confidentialityImpact": "LOW"
},
"impactScore": 2.7,
"exploitabilityScore": 2.3
}
],
"cvssMetricV40": [
{
"type": "Secondary",
"source": "product-cna@github.com",
"cvssData": {
"Safety": "NOT_DEFINED",
"version": "4.0",
"Recovery": "NOT_DEFINED",
"baseScore": 6.3,
"Automatable": "NOT_DEFINED",
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"exploitMaturity": "NOT_DEFINED",
"providerUrgency": "NOT_DEFINED",
"userInteraction": "PASSIVE",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"privilegesRequired": "LOW",
"subIntegrityImpact": "HIGH",
"vulnIntegrityImpact": "LOW",
"integrityRequirement": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"vulnAvailabilityImpact": "NONE",
"availabilityRequirement": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"subConfidentialityImpact": "HIGH",
"vulnConfidentialityImpact": "LOW",
"confidentialityRequirement": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"vulnerabilityResponseEffort": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED"
}
}
]
},
"affected": [
{
"source": "product-cna@github.com",
"affectedData": [
{
"vendor": "GitHub",
"product": "Enterprise Server",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "3.17.17",
"status": "unaffected"
}
],
"version": "3.17.0",
"versionType": "semver",
"lessThanOrEqual": "3.17.16"
},
{
"status": "affected",
"changes": [
{
"at": "3.18.11",
"status": "unaffected"
}
],
"version": "3.18.0",
"versionType": "semver",
"lessThanOrEqual": "3.18.10"
},
{
"status": "affected",
"changes": [
{
"at": "3.19.8",
"status": "unaffected"
}
],
"version": "3.19.0",
"versionType": "semver",
"lessThanOrEqual": "3.19.7"
},
{
"status": "affected",
"changes": [
{
"at": "3.20.4",
"status": "unaffected"
}
],
"version": "3.20.0",
"versionType": "semver",
"lessThanOrEqual": "3.20.3"
},
{
"status": "affected",
"changes": [
{
"at": "3.16.20",
"status": "unaffected"
}
],
"version": "3.16.0",
"versionType": "semver",
"lessThanOrEqual": "3.16.19"
}
],
"defaultStatus": "affected"
}
]
}
],
"published": "2026-06-30T22:16:45.483",
"references": [
{
"url": "https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.20",
"tags": [
"Release Notes"
],
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.17",
"tags": [
"Release Notes"
],
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.11",
"tags": [
"Release Notes"
],
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.8",
"tags": [
"Release Notes"
],
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.4",
"tags": [
"Release Notes"
],
"source": "product-cna@github.com"
}
],
"vulnStatus": "Analyzed",
"weaknesses": [
{
"type": "Secondary",
"source": "product-cna@github.com",
"description": [
{
"lang": "en",
"value": "CWE-79"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"lastModified": "2026-07-02T15:33:48.453",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "09FDB053-8EF5-4CAF-9C05-090985C57A77",
"versionEndExcluding": "3.16.20"
},
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F0612BD3-C04E-4A34-ACEF-4D1F4F723E47",
"versionEndExcluding": "3.17.17",
"versionStartIncluding": "3.17.0"
},
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0553891C-ED0B-4D2C-A832-29996F0CE8B2",
"versionEndExcluding": "3.18.11",
"versionStartIncluding": "3.18.0"
},
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E67B4A61-E777-4B50-8DFC-DDF6292C4771",
"versionEndExcluding": "3.19.8",
"versionStartIncluding": "3.19.0"
},
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A51E85E4-FF55-497C-A39F-F69E224E63BD",
"versionEndExcluding": "3.20.4",
"versionStartIncluding": "3.20.0"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "product-cna@github.com"
}