CVE-2025-34032 Moodle LMS Jmol Plugin Cross-site Scripting (XSS)
Reflected XSS in Moodle Jmol plugin allows attackers to execute arbitrary JavaScript via malicious links, potentially hijacking user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-34032?
CVE-2025-34032 is a medium-severity cross-site scripting vulnerability in Moodle Jmol Plugin, published on 24 Jun 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A reflected cross-site scripting (XSS) vulnerability exists in the Moodle LMS Jmol plugin version 6.1 and prior via the data parameter in jsmol.php. The application fails to properly sanitize user input before embedding it into the HTTP response, allowing an attacker to execute arbitrary JavaScript in the victim's browser by crafting a malicious link. This can be used to hijack user sessions or manipulate page content. Exploitation evidence was observed by the Shadowserver Foundation on 2025-02-02 UTC.
Weakness: CWE-79
Which versions are affected by CVE-2025-34032?
It affects 1 product.
Products include Geoffrowland Jmol.
How do I fix CVE-2025-34032?
No fix has been published for CVE-2025-34032 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-34032 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-34032 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Moodle Jmol Plugin
Sources
Also known as GHSA-pj56-mpf8-xh3c.