CVE-2026-77912
Se ha identificado una vulnerabilidad de secuencias de comandos en sitios cruzados (XSS) almacenada en GitHub Enterprise Server que permitía a un atacante autenticado inyectar atributos HTML arbitrarios en el Markdown renderizado, porque el proceso de renderizado de Markdown reescribía caracteres de comillas en HTML ya saneado sin volver a sanear el resultado. Un Markdown manipulado podía abusar de gadgets de JavaScript del mismo origen para eludir la Content Security Policy y obtener el control del DOM de la página cuando otro usuario la visualizaba.
Leer descripción completaMostrar menos
Una explotación satisfactoria podría permitir a un atacante leer el contenido visible para la víctima, extraer tokens CSRF incrustados, realizar acciones que cambian el estado en nombre de la víctima y exfiltrar datos mediante escrituras del mismo origen. La carga útil también podía propagarse a repositorios y organizaciones en los que la víctima tenía acceso de escritura. Esta vulnerabilidad afectaba a las versiones compatibles de GitHub Enterprise Server de las series 3.17, 3.18, 3.19, 3.20, 3.21 y 3.22 y se corrigió en las versiones 3.22.1, 3.21.6, 3.20.8, 3.19.12, 3.18.15 y 3.17.21. Esta vulnerabilidad se notificó a través del programa GitHub Bug Bounty.
Traducción automática del texto original de NVD (en inglés).
Cronología
Elaborada con nuestros propios datos: NVD, CISA KEV y otros catálogos de explotación, FIRST EPSS, exploits públicos, prensa especializada y la cobertura de Orbitaley.
- Registro CVE publicado en NVD
- Última modificación del registro en NVD
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)
Registro NVD
- Estado en NVD
- Analizada
- Publicada
- 22 sept 2026
- Última modificación
- 2 oct 2026
- Vector CVSS
- 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
- Debilidad (CWE)
- CWE-79
Referencias
- Aviso del fabricantedocs.github.com/en/enterprise-server@3.17/admin/release-notes
- Aviso del fabricantedocs.github.com/en/enterprise-server@3.18/admin/release-notes
- Aviso del fabricantedocs.github.com/en/enterprise-server@3.19/admin/release-notes
- Aviso del fabricantedocs.github.com/en/enterprise-server@3.20/admin/release-notes
- Aviso del fabricantedocs.github.com/en/enterprise-server@3.21/admin/release-notes
- Aviso del fabricantedocs.github.com/en/enterprise-server@3.22/admin/release-notes
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"
}