# CVE-2025-34031: Moodle LMS Jmol Plugin Path Traversal

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 6.62%, higher than 94% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-06-24T00:58:57.345Z
- Modified: 2026-06-17T09:13:20.430Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Moodle Jmol Plugin: up to 6.1
- geoffrowland jmol: up to 6.1

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://www.dionach.com/moodle-jmol-plugin-multiple-vulnerabilities/> (exploit, technical-description, third-party-advisory)
- <https://www.exploit-db.com/exploits/46881> (exploit, third-party-advisory)
- <https://vulncheck.com/advisories/moodle-lms-jmol-plugin-path-traversal> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-34031](https://www.cve.org/CVERecord?id=CVE-2025-34031), CVE Terms of Use, modified 2026-05-14
- NVD: [CVE-2025-34031](https://nvd.nist.gov/vuln/detail/CVE-2025-34031), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-34031 · Whole record: https://cve.day/CVE-2025-34031.json · Rebuilt by cve.day 2026-11-25T22:58:59.542Z
