CVE-2025-3246
GitHub Enterprise Server vulnerability analysis and mitigation

Overview

An improper neutralization of input vulnerability was identified in GitHub Enterprise Server version 3.16.1 that allowed cross-site scripting in GitHub Markdown when using $$..$$ math blocks. The vulnerability was discovered and reported through the GitHub Bug Bounty program and was fixed in version 3.16.2, released on April 17, 2025 (GitHub Release Notes).

Technical details

The vulnerability allowed attackers to exploit improper input neutralization in GitHub's Markdown rendering system, specifically within math blocks denoted by $$..$$. The issue enabled the embedding of malicious HTML/CSS content, leading to cross-site scripting attacks. GitHub mitigated this by disallowing early escape of math blocks by dollar signs and improving math-rendered content escaping. The vulnerability has been assigned CVE-2025-3246 and received a HIGH severity rating (GitHub Release Notes).

Impact

The vulnerability could allow attackers to perform cross-site scripting attacks through specially crafted math blocks in Markdown content. This could potentially lead to the execution of malicious code in users' browsers when viewing affected content (GitHub Release Notes).

Mitigation and workarounds

The vulnerability has been fixed in GitHub Enterprise Server version 3.16.2. Organizations running affected versions should upgrade to version 3.16.2 to receive the security fix. The patch implements improved escaping of math-rendered content and prevents early escape of math blocks by dollar signs (GitHub Release Notes).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management