Path Traversal in Geoffrowland Jmol

CVE-2025-34031

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.030 (85.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-34031?
CVE-2025-34031 is a high-severity vulnerability in Geoffrowland Jmol, classified under Path Traversal. CVSS score: 7.5/10. Published 2025-06-24.
How severe is CVE-2025-34031?
High severity. CVSS v3 base score is 7.5 out of 10.