# CVE-2025-3246: Markdown math block sanitization bypass allows privilege escalation and unauthorized workflow triggers

> CVE-2025-3246: Markdown math block sanitization bypass allows privilege escalation and unauthorized workflow triggers. CVSS 7.6 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2025-3246
Last updated: 2026-06-17T09:19:30Z

- Published: 2025-04-17 22:50 UTC · Updated: 2026-06-17 09:19 UTC · Assigner: GitHub\_P
- CVSS: 7.6 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
- EPSS: 0.30%, 23th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-79

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

## Affected vendors and products

- GitHub: GitHub Enterprise Server

## Tracked companies

- [GitHub](https://rewindex.com/company/github.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-3246)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-3246)
- [https://docs.github.com/en/enterprise-server@3.16/admin/release-notes\#3.16.2](https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.2)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-3246 · Markdown: https://rewindex.com/cve/CVE-2025-3246.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-3246 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:13:20.125Z
