CVE-2025-3246 in Github Enterprise Server
An improper neutralization of input vulnerability was identified in GitHub Enterprise Server that allowed cross-site scripting in GitHub Markdown that used `$$..$$` math blocks. Exploitation required access to the target GitHub Enterprise Server instance and privileged user interaction with the malicious elements. ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, requires user interaction, can impact systems beyond the vulnerable component, full confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Github | Enterprise Server | 3.16.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
An improper neutralization of input vulnerability was identified in GitHub Enterprise Server that allowed cross-site scripting in GitHub Markdown that used `$$..$$` math blocks. Exploitation required access to the target GitHub Enterprise Server instance and privileged user interaction with the malicious elements. This vulnerability affected version 3.16.1 of GitHub Enterprise Server and was fixed in version 3.16.2. This vulnerability was reported via the GitHub Bug Bounty program.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-3246 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-040649-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N |
| Published | 2025-04-17 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-79: Cross-Site Scripting (XSS)
Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.
Related attack patterns (CAPEC)
CAPEC-85 AJAX Footprinting via CWE-79
CAPEC-209 XSS Using MIME Type Mismatch via CWE-79
CAPEC-588 DOM-Based XSS via CWE-79
CAPEC-591 Reflected XSS via CWE-79
CAPEC-592 Stored XSS via CWE-79
Show all 6
CAPEC-63 Cross-Site Scripting (XSS) via CWE-79
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
An improper neutralization of input vulnerability in GitHub Enterprise Server version 3.16.1 allows cross-site scripting (XSS) via maliciously crafted GitHub Markdown using `$$..$$` math blocks.
The vulnerability can be exploited by an attacker who has access to the target GitHub Enterprise Server instance and can induce a privileged user to interact with malicious content, such as a specially crafted Markdown file or comment.
Questions
What is CVE-2025-3246?
An improper neutralization of input vulnerability in GitHub Enterprise Server version 3.16.1 allows cross-site scripting (XSS) via maliciously crafted GitHub Markdown using `$$..$$` math blocks.
What is the CVSS score for CVE-2025-3246?
CVE-2025-3246 has CVSS 7.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N. EPSS: 0.4%.
Is CVE-2025-3246 actively exploited?
No confirmed active exploitation of CVE-2025-3246 as of 2026-09-25.
How do I remediate CVE-2025-3246?
Priority: HIGH. Advisory: https://docs.github.com/en/[email protected]/admin/release-notes#3.16.2
What systems are affected by CVE-2025-3246?
CVE-2025-3246 affects Github Enterprise Server.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Github","product":"Enterprise Server","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.