CVE-2024-10001
published high CVSS 4.0 · 7.1Code Injection Vulnerability in GitHub Enterprise Server Allows Arbitrary Code Execution via Message Handling
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitHub | — | Enterprise Server3.11.0 through 3.11.16 (affected · semver); changes: unaffected at 3.11.17 · 3.12.0 through 3.12.10 (affected · semver); changes: unaffected at 3.12.11 · 3.13.0 through 3.13.5 (affected · semver); changes: unaffected at 3.13.6 · 3.14.0 through 3.14.2 (affected · semver); changes: unaffected at 3.14.3 · 3.15.0 through 3.15.1 (affected · semver); changes: unaffected at 3.15.1 · Other versions: affected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_P · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitHub | Enterprise Server | 3.11.0 through 3.11.16 (affected · semver); changes: unaffected at 3.11.173.12.0 through 3.12.10 (affected · semver); changes: unaffected at 3.12.113.13.0 through 3.13.5 (affected · semver); changes: unaffected at 3.13.63.14.0 through 3.14.2 (affected · semver); changes: unaffected at 3.14.33.15.0 through 3.15.1 (affected · semver); changes: unaffected at 3.15.1Default: affected | GitHub_P · cna |
Weaknesses
1- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
5- https://docs.github.com/en/[email protected]/admin/release-notes#3.11.17
- https://docs.github.com/en/[email protected]/admin/release-notes#3.12.11
- https://docs.github.com/en/[email protected]/admin/release-notes#3.13.6
- https://docs.github.com/en/[email protected]/admin/release-notes#3.14.3
- https://docs.github.com/en/[email protected]/admin/release-notes#3.15.0
Provider assertions
2GitHub_P · cna
Code Injection Vulnerability in GitHub Enterprise Server Allows Arbitrary Code Execution via Message Handling
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 685365b0e2eb3a430884cf440e307c33b296e6c559d171edeb2daf76ff17e645
- Ingested
- 23 Sep 2026, 08:16:32 UTC
- Source record
- Official CVE record