Skip to main content
Network Thinking Solutions Logo

CVE-2026-10585

GitHub Enterprise Server cross-site scripting (XSS)

All CVEs
CVE-2026-10585Published 6/30/2026

GitHub Enterprise Server cross-site scripting (XSS)

Vendor advisory
CVSS6.3Medium

Overview

A stored cross-site scripting vulnerability was identified in GitHub Enterprise Server that allowed an authenticated attacker to execute arbitrary JavaScript in another user's browser by injecting a crafted payload into the title of a Discussion in the Q&A category. The AnsweredQuestionStructuredDataComponent did not escape user-controlled Discussion titles before embedding them in a <script type="application/ld+json"> block, allowing the title to break out of the script context. The injection was escalated to a full cross-site scripting attack on GitHub Enterprise Server by leveraging JSONP callback support in the REST API to bypass the Content Security Policy. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.21 and was fixed in versions 3.20.4, 3.19.8, 3.18.11, 3.17.17, 3.16.20. This vulnerability was reported via the GitHub Bug Bounty program.

Published
6/30/2026
Last modified
10/25/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
enterprise server
github
< 3.16.20

Verify advisory

Source
enterprise server
github
≥ 3.17.0, < 3.17.17

Verify advisory

Source
enterprise server
github
≥ 3.18.0, < 3.18.11

Verify advisory

Source
enterprise server
github
≥ 3.19.0, < 3.19.8

Verify advisory

Source
enterprise server
github
≥ 3.20.0, < 3.20.4

Verify advisory

Source
Enterprise Server
GitHub
≥ 3.17.0, ≤ 3.17.16

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Enterprise Server
GitHub
≥ 3.18.0, ≤ 3.18.10

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Enterprise Server
GitHub
≥ 3.19.0, ≤ 3.19.7

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Enterprise Server
GitHub
≥ 3.20.0, ≤ 3.20.3

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Enterprise Server
GitHub
≥ 3.16.0, ≤ 3.16.19

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 6.3. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.