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

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_P) `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:A/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-02)
- Published: 2025-04-17T22:50:22.215Z
- Modified: 2026-06-17T09:19:30.637Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_P

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

(As written by CVE List.)

## Affected

- GitHub GitHub Enterprise Server: from 3.16 up to 3.16.1
- github enterprise_server: 3.16.1

## Every score

- GitHub_P: CVSS:4.0 8.6 High `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:A/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N`
- NVD: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N`

## References

- <https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.2> (release-notes)

## Sources

- CVE List: [CVE-2025-3246](https://www.cve.org/CVERecord?id=CVE-2025-3246), CVE Terms of Use, modified 2025-04-18
- NVD: [CVE-2025-3246](https://nvd.nist.gov/vuln/detail/CVE-2025-3246), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-3246 · Whole record: https://cve.day/CVE-2025-3246.json · Rebuilt by cve.day 2026-11-25T22:58:56.749Z
