MathJax: LaTeX for Drupal - Critical - Cross site scripting - SA-CONTRIB-2026-195
MathJax: LaTeX for Drupal versions before 4.1.2 are exposed when the module's shipped library configurations leave JavaScript inside TeX content unescaped. Fixed in 4.1.2.
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- How many real-world setups can hit the bug, from the vendor's advisory and CISA data. It does not know your setup.What do these mean? →
- Specific setups only
- Fix
- Fixed in 4.1.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
The MathJax: LaTeX module for Drupal, a content management system plugin that renders math formulas on web pages, is affected by this vulnerability. An attacker could exploit it to inject malicious scripts into pages, potentially allowing them to run harmful code in visitors' browsers and compromise user sessions or data.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original description
Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal MathJax: LaTeX for Drupal allows Cross-Site Scripting (XSS). This issue affects MathJax: LaTeX for Drupal versions: from 0.0.0 to 4.1.2.
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Drupal MathJax: LaTeX for Drupal
From 0.0.0 · fixed in 4.1.2
References 1
drupal.org
Questions about CVE-2026-107252
What does this mean?
The module's bundled MathJax library configurations do not escape JavaScript written inside TeX content, so that script can run in the page as cross site scripting.Source: drupal.org
Am I affected, and how do I check?
Versions before 4.1.2 are affected when the shipped library configurations are in use. Check the installed module version on the Drupal modules page, and review the MathJax CDN URL and custom MathJax JavaScript configuration.Source: drupal.org
What should I do about it?
Upgrade MathJax: LaTeX for Drupal to 4.1.2 or later, which the advisory names as the fix.Source: drupal.org
Is it being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data