Browser script execution via unsanitized data reflection
Published Jun 24, 2025 · Updated May 14, 2026
Reflected XSS in Moodle Jmol Plugin 6.1 and earlier allows remote attackers to run JavaScript in a victim's browser via a crafted link. The jsmol.php saveFile branch copies the data request parameter directly into the response body and accepts its attacker-controlled MIME type without sanitization. Exploitation requires a victim to open the link, after which script runs in the Moodle origin and can hijack sessions or alter page content.
Summary
What happened
Reflected XSS in Moodle Jmol Plugin 6.1 and earlier allows remote attackers to run JavaScript in a victim's browser via a crafted link. The jsmol.php saveFile branch copies the data request parameter directly into the response body and accepts its attacker-controlled MIME type without sanitization. Exploitation requires a victim to open the link, after which script runs in the Moodle origin and can hijack sessions or alter page content.
The record
- CVE
- CVE-2025-34032
- Published
- Jun 24, 2025
- Updated
- May 14, 2026
- Vendor
- Moodle
- Product
- Jmol Plugin
- Classifications
- CWE-79, CAPEC-591, T1189
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 2, 2025Exploitation reportedShadowserver exploitation observation
- Jun 24, 2025CVE publishedPublication date reported by the CVE source.
- May 14, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=6.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Moodle Jmol Filter 6.1 Directory Traversal and Cross-Site Scriptingfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- Shadowserver exploitation observationreported exploitation
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo