CVE-2025-60507 Details
Description
Cross site scripting vulnerability in Moodle GeniAI plugin (local_geniai) 2.3.6. An authenticated user with Teacher role can upload a PDF containing embedded JavaScript. The assistant outputs a direct HTML link to the uploaded file without sanitization. When other users (including Students or Administrators) click the link, the payload executes in their browser.
A cross-site scripting (XSS) vulnerability has been identified in the Moodle GeniAI plugin (local_geniai) version 2.3.6. This vulnerability allows authenticated users with a Teacher role to upload PDFs containing embedded JavaScript. The assistant then provides an unsanitized HTML link to the uploaded file. When other users, including Students and Administrators, click this link, the JavaScript payload executes in their browsers. This issue also reflects a broader problem with the assistant returning raw HTML links that can be used to deliver stored XSS payloads to other users.
It is recommended that the plugin be updated to a version that addresses this vulnerability. Moodle users can check the official Moodle plugin directory for the latest version of the GeniAI plugin.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 21, 2025CISA-ADP
Assessed Oct 21, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/onurcangnc/moodle_genai_plugin_xss | [email protected] | ExploitTechnical Analysis |
| https://moodle.org/plugins/local_geniai | [email protected] | ProductVendor |
| https://moodle.org/security/ | [email protected] | AdvisoryBundleVendor |
| https://onurcangenc.com.tr/posts/moodle-genia%C4%B1-plugin-vulnerability-stored-reflected-xss-via-pdf-upload-and-chatbot-%C4%B1nput/ | [email protected] | ExploitRemedyTechnical Analysis |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| Moodle GeniAI | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Oct 21, 2025 | New CVE Received | [email protected] |
Volerion