# CVE-2025-60507: Cross site scripting vulnerability in Moodle GeniAI plugin (localgeniai) 2.3.6.

- Severity: High 8.9 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:L/AV:N/A:L/C:H/I:H/PR:L/S:C/UI:R`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2025-10-21T00:00:00.000Z
- Modified: 2026-11-05T22:10:00.203Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://moodle.org/security/>
- <https://onurcangenc.com.tr/posts/moodle-genia%C4%B1-plugin-vulnerability-stored-reflected-xss-via-pdf-upload-and-chatbot-%C4%B1nput/>
- <https://github.com/onurcangnc/moodle_genai_plugin_xss>
- <https://moodle.org/plugins/local_geniai>

## Sources

- CVE List: [CVE-2025-60507](https://www.cve.org/CVERecord?id=CVE-2025-60507), CVE Terms of Use, modified 2025-10-21
- NVD: [CVE-2025-60507](https://nvd.nist.gov/vuln/detail/CVE-2025-60507), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-60507 · Whole record: https://cve.day/CVE-2025-60507.json · Rebuilt by cve.day 2026-11-25T22:59:06.612Z
