CVE-2026-10585
Received Received - Intake

Stored XSS in GitHub Enterprise Server Discussion Titles

Vulnerability report for CVE-2026-10585, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-30

Last updated on: 2026-06-30

Assigner: GitHub, Inc. (Products Only)

Description

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 

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-30
Last Modified
2026-06-30
Generated
2026-07-01
AI Q&A
2026-07-01
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 5 associated CPEs
Vendor Product Version / Range
github enterprise_server to 3.21 (exc)
github enterprise_server 3.20.4
github enterprise_server 3.19.8
github enterprise_server 3.18.11
github enterprise_server 3.17.17

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Impact Analysis

This vulnerability can allow an attacker to execute arbitrary JavaScript code in the browsers of other users who view the affected Discussion titles. This can lead to session hijacking, theft of sensitive information, unauthorized actions performed on behalf of the victim user, or distribution of malware.

Mitigation Strategies

To mitigate this vulnerability, you should upgrade your GitHub Enterprise Server to one of the fixed versions: 3.20.4, 3.19.8, 3.18.11, or 3.17.17.

Executive Summary

This vulnerability is a stored cross-site scripting (XSS) issue in GitHub Enterprise Server. An authenticated attacker can inject malicious JavaScript code into the title of a Discussion in the Q&A category. The problem arises because the component that handles the Discussion titles does not properly escape user input before embedding it inside a script block. This allows the injected code to break out of the intended script context.

The attacker can escalate this injection to a full cross-site scripting attack by exploiting JSONP callback support in the REST API, which bypasses the Content Security Policy protections. This means the malicious script can execute in other users' browsers, potentially compromising their sessions or data.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-10585. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart