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

- Severity: High 7.1 (CVSS:4.0, scored by GitHub_P) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2025-01-29T18:24:58.816Z
- Modified: 2026-06-17T06:54:44.387Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_P

## 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.

(As written by CVE List.)

## Affected

- GitHub Enterprise Server: from 3.11.0 up to 3.11.16; from 3.12.0 up to 3.12.10; from 3.13.0 up to 3.13.5; from 3.14.0 up to 3.14.2; from 3.15.0 up to 3.15.1
- github enterprise_server: before 3.11.6; from 3.12.0 before 3.12.10; from 3.13.0 before 3.13.5; from 3.14.0 before 3.14.2

## Every score

- GitHub_P: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:L/SA:N`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N`

## References

- <https://docs.github.com/en/enterprise-server@3.11/admin/release-notes#3.11.17> (release-notes)
- <https://docs.github.com/en/enterprise-server@3.12/admin/release-notes#3.12.11> (release-notes)
- <https://docs.github.com/en/enterprise-server@3.13/admin/release-notes#3.13.6> (release-notes)
- <https://docs.github.com/en/enterprise-server@3.14/admin/release-notes#3.14.3> (release-notes)
- <https://docs.github.com/en/enterprise-server@3.15/admin/release-notes#3.15.0> (release-notes)

## Sources

- CVE List: [CVE-2024-10001](https://www.cve.org/CVERecord?id=CVE-2024-10001), CVE Terms of Use, modified 2025-02-12
- NVD: [CVE-2024-10001](https://nvd.nist.gov/vuln/detail/CVE-2024-10001), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-10001 · Whole record: https://cve.day/CVE-2024-10001.json · Rebuilt by cve.day 2026-11-25T22:58:51.290Z
