cve-2025-34031
HIGH CVSS 7.5 opencve
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.
Timeline
- Published
- 2025-06-24 01:15 UTC
- Last Modified
- 2026-06-17
CVSS Details
CVSS details not available.
Affected Products
No product information available.
CVSS metrics
| Version | Base | Severity | Vector | Exploitability | Impact | Source |
|---|---|---|---|---|---|---|
| 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 |
mitre | ||
| 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
nvd | ||
| 3.1 | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
nvd | ||
| 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 |
opencve | ||
| 3.1 | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
opencve |
References
No references available.
Linked Vulnerabilities
No linked vulnerabilities found.
{
"advisories": [
{
"id": "EUVD-2025-18971",
"source": "euvd",
"title": "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.",
"url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-18971"
}
],
"cve": "CVE-2025-34031",
"enrichment": {
"created": "2026-04-28T01:30:17.916119+00:00",
"updated": "2026-06-18T07:00:16.458705+00:00",
"vendors": []
},
"epss": {
"score": 0.03007
},
"mitre": {
"cpes": [
"cpe:2.3:a:geoffrowland:jmol:*:*:*:*:*:moodle:*:*"
],
"created": "2025-06-24T00:58:57.345000+00:00",
"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.",
"metrics": {
"cvssV2_0": {},
"cvssV3_0": {},
"cvssV3_1": {},
"cvssV4_0": {
"score": 8.7,
"vector": "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"
}
},
"mitre_repo_path": "cves/2025/34xxx/CVE-2025-34031.json",
"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"
],
"title": "Moodle LMS Jmol Plugin Path Traversal",
"updated": "2026-05-14T02:07:24.308000+00:00",
"vendors": [
"geoffrowland",
"geoffrowland$PRODUCT$jmol"
],
"weaknesses": [
"CWE-22"
]
},
"nvd": {
"cpes": [
"cpe:2.3:a:geoffrowland:jmol:*:*:*:*:*:moodle:*:*"
],
"created": "2025-06-24T01:15:23.340000+00:00",
"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.",
"metrics": {
"cvssV2_0": {},
"cvssV3_0": {},
"cvssV3_1": {
"score": 7.5,
"vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
},
"cvssV4_0": {
"score": 8.7,
"vector": "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
}
},
"nvd_repo_path": "2025/CVE-2025-34031.json",
"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"
],
"title": null,
"updated": "2026-06-17T09:13:20.430000+00:00",
"vendors": [
"geoffrowland",
"geoffrowland$PRODUCT$jmol"
],
"weaknesses": [
"CWE-22"
]
},
"opencve": {
"changes": [
{
"created": "2025-06-24T01:15:00+00:00",
"data": [
{
"details": {
"new": "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.",
"old": null
},
"type": "description"
},
{
"details": {
"new": "Moodle LMS Jmol Plugin Path Traversal",
"old": null
},
"type": "title"
},
{
"details": {
"added": [
"CWE-20",
"CWE-200",
"CWE-22"
],
"removed": []
},
"type": "weaknesses"
},
{
"details": {
"added": [
"https://vulncheck.com/advisories/moodle-lms-jmol-jsmol-plugin-path-traversal",
"https://www.dionach.com/moodle-jmol-plugin-multiple-vulnerabilities/",
"https://www.exploit-db.com/exploits/46881"
],
"removed": []
},
"type": "references"
},
{
"details": {
"added": {
"cvssV4_0": {
"score": 8.7,
"vector": "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"
}
},
"removed": {},
"updated": {}
},
"type": "metrics"
}
],
"id": "0423a564-c3ca-4e02-8f74-441e540b31ea"
},
{
"created": "2025-06-24T02:30:00+00:00",
"data": [
{
"details": {
"added": [
"https://vulncheck.com/advisories/moodle-lms-jmol-plugin-path-traversal"
],
"removed": []
},
"type": "references"
}
],
"id": "b78aff43-e0e5-4544-93c6-1371057dd996"
},
{
"created": "2025-06-24T04:45:00+00:00",
"data": [
{
"details": {
"added": [],
"removed": [
"https://vulncheck.com/advisories/moodle-lms-jmol-jsmol-plugin-path-traversal"
]
},
"type": "references"
}
],
"id": "c41d2173-d375-418f-b426-35a1700d80d7"
},
{
"created": "2025-06-25T13:15:00+00:00",
"data": [
{
"details": {
"added": {
"ssvc": {
"options": {
"Automatable": "yes",
"Exploitation": "poc",
"Technical Impact": "partial"
},
"version": "2.0.3"
}
},
"removed": {},
"updated": {}
},
"type": "metrics"
}
],
"id": "4ee49d02-aebf-4092-a426-ea28fda06f13"
},
{
"created": "2025-07-09T19:30:00+00:00",
"data": [
{
"details": [
"geoffrowland",
"geoffrowland$PRODUCT$jmol"
],
"type": "first_time"
},
{
"details": {
"added": [
"cpe:2.3:a:geoffrowland:jmol:*:*:*:*:*:moodle:*:*"
],
"removed": []
},
"type": "cpes"
},
{
"details": {
"added": [
"geoffrowland",
"geoffrowland$PRODUCT$jmol"
],
"removed": []
},
"type": "vendors"
},
{
"details": {
"added": {
"cvssV3_1": {
"score": 7.5,
"vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
},
"removed": {},
"updated": {}
},
"type": "metrics"
}
],
"id": "a64ef98a-3c48-4632-b1f7-04d3e119094c"
},
{
"created": "2025-07-16T13:45:00+00:00",
"data": [
{
"details": {
"added": {},
"removed": {},
"updated": {
"epss": {
"new": {
"score": 0.02358
},
"old": {
"score": 0.05247
}
}
}
},
"type": "metrics"
}
],
"id": "0241c2fa-3850-4983-a1c2-99a8424b5323"
},
{
"created": "2025-11-19T21:45:00+00:00",
"data": [
{
"details": {
"new": "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-10-07 UTC.",
"old": "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."
},
"type": "description"
}
],
"id": "a09808cd-e2e1-4113-9a39-dbde83a0f7cc"
},
{
"created": "2025-11-19T22:30:00+00:00",
"data": [
{
"details": {
"added": [],
"removed": [
"CWE-20",
"CWE-200"
]
},
"type": "weaknesses"
}
],
"id": "53a5f32f-b0f4-4790-a8bc-734080bd2c56"
},
{
"created": "2025-11-20T21:30:00+00:00",
"data": [
{
"details": {
"new": "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.",
"old": "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-10-07 UTC."
},
"type": "description"
}
],
"id": "75548573-01f5-4614-8173-2848b784bb0c"
}
],
"cpes": {
"data": [
"cpe:2.3:a:geoffrowland:jmol:*:*:*:*:*:moodle:*:*"
],
"providers": [
"mitre",
"nvd"
]
},
"created": {
"data": "2025-06-24T00:58:57.345000+00:00",
"provider": "mitre"
},
"description": {
"data": "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.",
"provider": "mitre"
},
"metrics": {
"cvssV2_0": {
"data": {},
"provider": null
},
"cvssV3_0": {
"data": {},
"provider": null
},
"cvssV3_1": {
"data": {
"score": 7.5,
"vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
},
"provider": "nvd"
},
"cvssV4_0": {
"data": {
"score": 8.7,
"vector": "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"
},
"provider": "mitre"
},
"epss": {
"data": {
"score": 0.03007
},
"provider": "first"
},
"kev": {
"data": {},
"provider": null
},
"ssvc": {
"data": {
"options": {
"Automatable": "yes",
"Exploitation": "poc",
"Technical Impact": "partial"
},
"version": "2.0.3"
},
"provider": "vulnrichment"
},
"threat_severity": {
"data": null,
"provider": null
}
},
"references": {
"data": [
"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"
],
"providers": [
"mitre",
"nvd",
"vulnrichment"
]
},
"title": {
"data": "Moodle LMS Jmol Plugin Path Traversal",
"provider": "mitre"
},
"updated": {
"data": "2026-04-07T14:09:07.116000+00:00",
"provider": "mitre"
},
"vendors": {
"data": [
"geoffrowland",
"geoffrowland$PRODUCT$jmol"
],
"providers": [
"mitre",
"nvd"
]
},
"weaknesses": {
"data": [
"CWE-22"
],
"providers": [
"mitre",
"nvd"
]
}
},
"vulnrichment": {
"cpes": [],
"created": "2025-06-24T00:58:57.345000+00:00",
"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.",
"metrics": {
"cvssV2_0": {},
"cvssV3_0": {},
"cvssV3_1": {},
"cvssV4_0": {},
"kev": {},
"ssvc": {
"options": {
"Automatable": "yes",
"Exploitation": "poc",
"Technical Impact": "partial"
},
"version": "2.0.3"
}
},
"references": [
"https://www.exploit-db.com/exploits/46881"
],
"title": "Moodle LMS Jmol Plugin Path Traversal",
"updated": "2025-06-25T12:38:10.995000+00:00",
"vendors": [],
"vulnrichment_repo_path": "2025/34xxx/CVE-2025-34031.json",
"weaknesses": []
}
}
Enrichment data
Aggregated bundle (all enrichments)