What’s Vulnerable › Vulnerabilities
CVE-2025-34031: Moodle LMS Jmol Plugin Path Traversal
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-06-24 · updated 2026-06-17
- Weakness: CWE-22
Description
A path traversal vulnerability exists in the Moodle LMS Jmol plugin version 6.1 and prior via the query parameter in jsmol.php. The script directly passes user input to the file_get_contents() function without proper validation, allowing attackers to read arbitrary files from the server's filesystem by crafting a malicious query value. This vulnerability can be exploited without authentication and may expose sensitive configuration data, including database credentials. Exploitation evidence was observed by the Shadowserver Foundation on 2025-02-02 UTC.
Affected products
- Moodle Jmol Plugin: through 6.1
References
- https://vulncheck.com/advisories/moodle-lms-jmol-plugin-path-traversal
- https://www.dionach.com/moodle-jmol-plugin-multiple-vulnerabilities/
- https://www.exploit-db.com/exploits/46881
- https://www.exploit-db.com/exploits/46881
Get alerted when CVE-2025-34031 or the next vulnerability affects your stack