# CVE-2024-10001: Code Injection Vulnerability in GitHub Enterprise Server Allows Arbitrary Code Execution via Message Handling

> CVE-2024-10001: Code Injection Vulnerability in GitHub Enterprise Server Allows Arbitrary Code Execution via Message Handling. CVSS 7.1 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2024-10001
Last updated: 2026-06-17T06:54:44Z

- Published: 2025-01-29 18:24 UTC · Updated: 2026-06-17 06:54 UTC · Assigner: GitHub\_P
- CVSS: 7.1 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
- EPSS: 0.38%, 32th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-94

## Description

A Code Injection vulnerability was identified in GitHub Enterprise Server that allowed attackers to inject malicious code into the query selector via the identity property in the message handling function. This enabled the exfiltration of sensitive data by manipulating the DOM, including authentication tokens. To execute the attack, the victim must be logged into GitHub and interact with the attacker controlled malicious webpage containing the hidden iframe. This vulnerability occurs due to an improper sequence of validation, where the origin check occurs after accepting the user-controlled identity property. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.11.16, 3.12.10, 3.13.5, 3.14.2, and 3.15.0. This vulnerability was reported via the GitHub Bug Bounty program.

## Affected vendors and products

- GitHub: Enterprise Server

## Tracked companies

- [GitHub](https://rewindex.com/company/github.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2024-10001)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2024-10001)
- [https://docs.github.com/en/enterprise-server@3.11/admin/release-notes\#3.11.17](https://docs.github.com/en/enterprise-server@3.11/admin/release-notes#3.11.17)
- [https://docs.github.com/en/enterprise-server@3.12/admin/release-notes\#3.12.11](https://docs.github.com/en/enterprise-server@3.12/admin/release-notes#3.12.11)
- [https://docs.github.com/en/enterprise-server@3.13/admin/release-notes\#3.13.6](https://docs.github.com/en/enterprise-server@3.13/admin/release-notes#3.13.6)
- [https://docs.github.com/en/enterprise-server@3.14/admin/release-notes\#3.14.3](https://docs.github.com/en/enterprise-server@3.14/admin/release-notes#3.14.3)
- [https://docs.github.com/en/enterprise-server@3.15/admin/release-notes\#3.15.0](https://docs.github.com/en/enterprise-server@3.15/admin/release-notes#3.15.0)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2024-10001 · Markdown: https://rewindex.com/cve/CVE-2024-10001.md · JSON: https://rewindex.com/api/v1/cves/CVE-2024-10001 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:09:45.018Z
