CVE-2025-34032: Reflected XSS in Moodle LMS Jmol Plugin
- Vendor
- Geoffrowland
CVE-2025-34032 is a reflected cross-site scripting vulnerability affecting the Moodle LMS Jmol plugin version 6.1 and earlier. The plugin improperly sanitizes the data parameter before embedding its value into an HTTP response. An attacker can craft a malicious link that causes arbitrary JavaScript to execute in a victim's browser, potentially enabling session hijacking or manipulation of page content. The Shadowserver Foundation observed exploitation evidence on February 2, 2025, UTC.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation executes attacker-controlled JavaScript in a victim's browser and can enable user-session hijacking or manipulation of displayed page content.
Mitigation
If you can’t patch tonight, do this now.
If an immediate patch is not available, disable or restrict access to the Jmol plugin and specifically jsmol.php where operationally feasible. Reduce exposure by limiting access to trusted users, monitoring for malicious requests targeting the data parameter, and deploying WAF rules to detect or block common XSS payloads. Enforce HttpOnly and Secure cookie attributes and consider a restrictive Content Security Policy to reduce exploitability and post-exploitation impact, though these measures do not eliminate the underlying flaw.
Remediation
Patch, then assume compromise.
Upgrade the Moodle LMS Jmol plugin to a fixed version newer than 6.1 if available from the vendor or maintainer. In the vulnerable code path, ensure the data parameter is strictly validated and context-appropriately encoded before inclusion in the HTTP response. Prefer allowlisting expected input formats and use safe output encoding for HTML/JavaScript contexts. Review related request parameters in jsmol.php and similar plugin components for the same pattern.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-34032 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2025-34032?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2025-34032.
- Is there a patch for CVE-2025-34032?
- Upgrade the Moodle LMS Jmol plugin to a fixed version newer than 6.1 if available from the vendor or maintainer. In the vulnerable code path, ensure the data parameter is strictly validated and context-appropriately encoded before inclusion in the HTTP response.
- What products are affected by CVE-2025-34032?
- Geoffrowland Jmol.
- How severe is CVE-2025-34032?
- CVE-2025-34032 has a CVSS v4 score of 5.1 (Medium) and an EPSS score of 0.81% (58th percentile) as of Oct 16, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.