{"id":"CVE-2025-3246","state":"PUBLISHED","title":"Markdown math block sanitization bypass allows privilege escalation and unauthorized workflow triggers","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.","publishedAt":"2025-04-17T22:50:22.215Z","updatedAt":"2025-04-18T12:01:53.671Z","severity":{"score":8.6,"label":"High","version":"4.0","vector":"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","source":"GitHub_P"},"assigner":"GitHub_P","products":["GitHub GitHub Enterprise Server"],"affected":[{"vendor":"GitHub","product":"GitHub Enterprise Server","defaultStatus":"affected","versions":[{"version":"3.16","status":"affected","lessThanOrEqual":"3.16.1","changes":[{"at":"3.16.2","status":"unaffected"}],"versionType":"semver"}]}],"references":["https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.2"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/3xxx/CVE-2025-3246.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-3246","state":"PUBLISHED","datePublished":"2025-04-17T22:50:22.215Z","dateUpdated":"2025-04-18T12:01:53.671Z","assignerShortName":"GitHub_P","assignerOrgId":"82327ea3-741d-41e4-88f8-2cf9e791e760","dateReserved":"2025-04-03T22:33:59.558Z"},"containers":{"cna":{"title":"Markdown math block sanitization bypass allows privilege escalation and unauthorized workflow triggers","descriptions":[{"lang":"en","value":"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":[{"vendor":"GitHub","product":"GitHub Enterprise Server","defaultStatus":"affected","versions":[{"version":"3.16","status":"affected","lessThanOrEqual":"3.16.1","changes":[{"at":"3.16.2","status":"unaffected"}],"versionType":"semver"}]}],"references":[{"url":"https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.2"}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"HIGH","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":8.6,"baseSeverity":"HIGH","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_P","orgId":"82327ea3-741d-41e4-88f8-2cf9e791e760","dateUpdated":"2025-04-17T22:50:22.215Z"},"credits":[{"lang":"en","type":"finder","value":"André Storfjord Kristiansen"}],"impacts":[{"capecId":"CAPEC-63","descriptions":[{"lang":"en","value":"CAPEC-63 Cross-Site Scripting (XSS)"}]}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-18T11:44:25.310657Z","id":"CVE-2025-3246","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-18T12:01:53.671Z"}}]}}}