CVE-2026-77912
A stored cross-site scripting (XSS) vulnerability was identified in GitHub Enterprise Server that allowed an authenticated attacker to inject arbitrary HTML attributes into rendered Markdown because the Markdown rendering pipeline rewrote quote characters in already-sanitized HTML without re-sanitizing the result. Crafted Markdown could abuse same-origin JavaScript gadgets to bypass Content Security Policy and gain control of the page DOM when viewed by another user.
Leer descripción completaMostrar menos
Successful exploitation could allow an attacker to read content visible to the victim, extract embedded CSRF tokens, perform state-changing actions as the victim, and exfiltrate data through same-origin writes. The payload could also propagate to repositories and organizations where the victim had write access. This vulnerability affected supported GitHub Enterprise Server releases in the 3.17, 3.18, 3.19, 3.20, 3.21, and 3.22 series and was fixed in versions 3.22.1, 3.21.6, 3.20.8, 3.19.12, 3.18.15, and 3.17.21. This vulnerability was reported via the GitHub Bug Bounty program.
CVSS
- Versión: 4.0
- Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:L/SI:L/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:Y/R:X/V:X/RE:X/U:X
- Puntuación base: 7.4
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.21%
- Percentil entre todas las CVEs puntuadas: 10
- 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).
🎯 Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1189Drive-by Compromiseinitial access95 % - Impacto principal
T1059.007JavaScriptexecution85 % - Impacto secundario
T1005Data from Local Systemcollection80 % - Impacto secundario
T1566.002Spearphishing Linkinitial access75 %
XSS almacenado en Markdown permite inyectar atributos HTML maliciosos. Al renderizar sin re-sanitizar, el atacante ejecuta JavaScript en contexto de víctima (T1059.007) para leer datos visibles, extraer tokens CSRF y realizar acciones como el usuario (T1005, T1566.002 por propagación a repositorios)
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
🛡️ Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (1)
CWE
- CWE-79
Referencias
- https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.21
- https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.15
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.12
- https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.8
- https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.6
- https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.1
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-77912",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-77912",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-09-23T15:05:05.478835Z"
}
}
],
"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": 7.4,
"Automatable": "YES",
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:L/SI:L/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:Y/R:X/V:X/RE:X/U:X",
"exploitMaturity": "NOT_DEFINED",
"providerUrgency": "NOT_DEFINED",
"userInteraction": "PASSIVE",
"attackComplexity": "HIGH",
"attackRequirements": "NONE",
"privilegesRequired": "LOW",
"subIntegrityImpact": "LOW",
"vulnIntegrityImpact": "HIGH",
"integrityRequirement": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"vulnAvailabilityImpact": "NONE",
"availabilityRequirement": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"subConfidentialityImpact": "LOW",
"vulnConfidentialityImpact": "HIGH",
"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.21",
"status": "unaffected"
}
],
"version": "3.17.0",
"lessThan": "3.17.*",
"versionType": "semver"
},
{
"status": "affected",
"changes": [
{
"at": "3.18.15",
"status": "unaffected"
}
],
"version": "3.18.0",
"lessThan": "3.18.*",
"versionType": "semver"
},
{
"status": "affected",
"changes": [
{
"at": "3.19.12",
"status": "unaffected"
}
],
"version": "3.19.0",
"lessThan": "3.19.*",
"versionType": "semver"
},
{
"status": "affected",
"changes": [
{
"at": "3.20.8",
"status": "unaffected"
}
],
"version": "3.20.0",
"lessThan": "3.20.*",
"versionType": "semver"
},
{
"status": "affected",
"changes": [
{
"at": "3.21.6",
"status": "unaffected"
}
],
"version": "3.21.0",
"lessThan": "3.21.*",
"versionType": "semver"
},
{
"status": "affected",
"changes": [
{
"at": "3.22.1",
"status": "unaffected"
}
],
"version": "3.22.0",
"lessThan": "3.22.*",
"versionType": "semver"
}
],
"defaultStatus": "unknown"
}
]
}
],
"published": "2026-09-22T21:17:32.483",
"references": [
{
"url": "https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.21",
"tags": [
"Release Notes",
"Vendor Advisory"
],
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.15",
"tags": [
"Release Notes",
"Vendor Advisory"
],
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.12",
"tags": [
"Release Notes",
"Vendor Advisory"
],
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.8",
"tags": [
"Release Notes",
"Vendor Advisory"
],
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.6",
"tags": [
"Release Notes",
"Vendor Advisory"
],
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.1",
"tags": [
"Release Notes",
"Vendor Advisory"
],
"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 (XSS) vulnerability was identified in GitHub Enterprise Server that allowed an authenticated attacker to inject arbitrary HTML attributes into rendered Markdown because the Markdown rendering pipeline rewrote quote characters in already-sanitized HTML without re-sanitizing the result. Crafted Markdown could abuse same-origin JavaScript gadgets to bypass Content Security Policy and gain control of the page DOM when viewed by another user. Successful exploitation could allow an attacker to read content visible to the victim, extract embedded CSRF tokens, perform state-changing actions as the victim, and exfiltrate data through same-origin writes. The payload could also propagate to repositories and organizations where the victim had write access. This vulnerability affected supported GitHub Enterprise Server releases in the 3.17, 3.18, 3.19, 3.20, 3.21, and 3.22 series and was fixed in versions 3.22.1, 3.21.6, 3.20.8, 3.19.12, 3.18.15, and 3.17.21. This vulnerability was reported via the GitHub Bug Bounty program."
}
],
"lastModified": "2026-10-02T18:38:48.423",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E83141CB-1932-42B9-9425-48416C63A613",
"versionEndExcluding": "3.17.21",
"versionStartIncluding": "3.17.0"
},
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "15CAF100-6E9B-4729-B9CB-9DC9A28476EE",
"versionEndExcluding": "3.18.15",
"versionStartIncluding": "3.18.0"
},
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1C9673F5-F19A-48A0-B9E9-C75E506A14E9",
"versionEndExcluding": "3.19.12",
"versionStartIncluding": "3.19.0"
},
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "DCA88B70-765F-4318-82A3-67060A58BC31",
"versionEndExcluding": "3.20.8",
"versionStartIncluding": "3.20.0"
},
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "3E0F487F-1EC6-412C-BFC3-29FE2D88886E",
"versionEndExcluding": "3.21.6",
"versionStartIncluding": "3.21.0"
},
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "78D23030-388E-448B-9C3D-3F89FA946F96",
"versionEndExcluding": "3.22.1",
"versionStartIncluding": "3.22.0"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "product-cna@github.com"
}