Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInject crafted LaTeX payload into content
-
DeliveryModule fails to sanitize during page generation
-
ExploitVictim views rendered page
-
ExecutionScript executes in victim browser
-
ImpactSession hijack or data theft in user context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the MathJax: LaTeX for Drupal module (any version from 0.0.0 up to but not including 4.1.2) to be installed and enabled, and depends on an attacker-controlled payload being processed through the module's LaTeX page-generation path. The CVSS vector requires victim user interaction (UI:R) - a user must view the page containing the unsanitized payload - which limits exploitation to opportunistic or social-engineering delivery rather than silent mass exploitation. The exact prerequisite for injecting the payload (e.g., which Drupal permission or content/comment field feeds the vulnerable LaTeX renderer) is not described in the available sources; although the provided vector lists PR:N, whether genuinely unauthenticated input reaches the sink is unverified and should be confirmed against SA-CONTRIB-2026-195. Impact is bounded to the victim's browser context (low confidentiality and integrity, no availability impact). |
| Impact | This is a moderate-severity stored/reflected Cross-Site Scripting flaw (CWE-79) in the Drupal contrib module 'MathJax: LaTeX for Drupal', scored CVSS 5.4 (AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N). The signals are internally consistent and point to a real-but-not-urgent issue rather than an emergency. The CVSS vector indicates network reachability with low attack complexity but requires user interaction (UI:R), and impact is limited to low confidentiality and low integrity with no availability impact - characteristic of browser-context script injection rather than server compromise. EPSS reinforces low real-world exploitation pressure at 0.15% (4th percentile), and there is no CISA KEV listing, so there is no confirmed active exploitation. The vuln.today decision label is 'this_month', indicating a routine patch priority, not act_now/emergency. One tension to flag explicitly: the vector states PR:N (no privileges), yet XSS in a LaTeX-rendering Drupal module typically depends on an attacker being able to submit content containing the malicious payload - the sources do not describe the exact trigger, so whether truly unauthenticated input reaches the sink is not confirmed from available data and should be verified against the Drupal advisory SA-CONTRIB-2026-195. Overall this is a legitimate but low-urgency issue: patch within the normal cycle. |
| Exploit ScenarioDerived | An attacker supplies crafted LaTeX/markup containing a malicious script payload that the module fails to neutralize when generating the page; when a victim user views the rendered content, the script executes in their browser session. Because the CVSS vector requires user interaction (UI:R) and yields only low confidentiality/integrity impact, realistic outcomes are session/cookie theft or limited actions in the victim's context rather than server takeover. A public PoC reference exists (vuldb.com/vuln/428860); it is not verified as working exploit code, and the exact trigger is not described in the available sources. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 30, 2026
Cross-site scripting in the Drupal contrib module 'MathJax: LaTeX for Drupal' (versions 0.0.0 through 4.1.2) lets an attacker get an unsanitized payload rendered into a generated page, executing script in a victim's browser session; the victim must view the affected page (UI:R), which limits this to opportunistic or social-engineering delivery rather than silent mass exploitation. Impact is bounded to low confidentiality and integrity loss in the victim's browser context with no availability impact, and the assessed vector requires a low-privileged authenticated position (PR:L) even though the published score lists PR:N. There is no CISA KEV entry and no public exploit identified at time of analysis; EPSS is 0.15% (4th percentile), and the vendor has released a fixed version.
RemediationAI
Upgrade the MathJax: LaTeX for Drupal module to 4.1.2 or later - the vendor has released a patch and the EUVD range confirms 4.1.2 is the fixed version - following the instructions in Drupal SA-CONTRIB-2026-195 (https://www.drupal.org/sa-contrib-2026-195); the advisory is the authoritative source for the exact upgrade steps and any module-specific notes. The affected module must be installed and enabled for exposure, so sites that do not use it are not affected and can remove it rather than upgrade. Because exploitation requires a victim to view the page carrying the unsanitized LaTeX payload, reducing the set of users who can submit content that feeds the renderer and limiting where that content is displayed lowers exposure, but these are partial constraints on delivery rather than a substitute for updating, and the vendor positions updating as the complete fix. Vulnerability management references are https://vuldb.com/vuln/428860 and https://nvd.nist.gov/vuln/detail/CVE-2026-107252.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-79 (Improper Neutralization of Input During Web Page Generation): the MathJax: LaTeX for Drupal module builds page output from LaTeX input without adequately neutralizing it, so markup reaching the renderer can break out into the page as script rather than inert math content. The affected component is the Drupal contrib module identified by CPE cpe:2.3:a:drupal:mathjax:_latex_for_drupal, which integrates LaTeX math rendering into Drupal content; because Drupal renders this through its theme/page pipeline, the vulnerable sink sits in a web page generation path rather than in a standalone service. The assessed vector (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) reflects remote delivery, low attack complexity, a low-privileged authenticated position, mandatory victim interaction, and changed scope because script executes in the victim's browser context. The trigger details - specifically which Drupal permission or content/comment field feeds the vulnerable LaTeX renderer, and whether genuinely unauthenticated input can reach the sink as the published PR:N metric suggests - are not described in the available sources and should be confirmed against SA-CONTRIB-2026-195.
Know when Mathjax gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Submitting the payload to a LaTeX-rendered content field typically needs an authoring account (PR:L); script executes in the victim's browser authority (S:C), requires viewing (UI:R), with low C/I and no availability impact.
Primary rating from Vendor (drupal).
CVSS VectorVendor: drupal
Lifecycle Timeline
3DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Mathjax up to v2.7.9 was discovered to contain two Regular expression Denial of Service (ReDoS) vulnerabilities in MathJ
MathJax version prior to version 2.7.4 contains a Cross Site Scripting (XSS) vulnerability in the \unicode{} macro that
EUVD-2026-113580
GHSA-cxwv-8h42-979j
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB