Reflected XSS in Moodle LMS Jmol Plugin
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.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
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.
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.
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.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.