CVE-2025-34031

published 24 Jun 2025 · updated 14 May 2026

Moodle LMS Jmol Plugin Path Traversal

9.7CriticalCVSS 8.7EPSS 3%3 public exploits

3 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Moodle<=6.1

Exploit evidence

3 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-34031 severity on Zeptric[![CVE-2025-34031](https://zeptric.io/badge/cve/CVE-2025-34031.svg)](https://zeptric.io/cve/CVE-2025-34031)