{
  "id": "CVE-2025-34031",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-34031",
  "published_at": "2025-06-24T00:58:57.345Z",
  "title": "Moodle LMS Jmol Plugin Path Traversal",
  "vendor": "Moodle",
  "product": "Jmol Plugin",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-06-25T05:07:23Z",
    "first_seen_at": null,
    "days_after_publication": 1.2,
    "source": "nuclei",
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-34031.yaml"
  },
  "poc_repo_count": 0,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:geoffrowland:jmol:*:*:*:*:*:moodle:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Moodle",
        "product": "Jmol Plugin",
        "ranges": [
          "\u003c= 6.1"
        ],
        "fixed_in": null
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.dionach.com/moodle-jmol-plugin-multiple-vulnerabilities/",
      "source": "cvelist",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/46881",
      "source": "cvelist",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-34031.yaml",
      "source": "nuclei",
      "title": "nuclei template: Moodle Jmol Filter 6.1 - Local File Inclusion",
      "published_at": "2025-06-25T05:07:23Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
