Vulnerability Description
Moodle OpenAI Chat Block plugin 3.0.1 (2025021700) suffers from an Insecure Direct Object Reference (IDOR) vulnerability due to insufficient validation of the blockId parameter in /blocks/openai_chat/api/completion.php. An authenticated student can impersonate another user's block (e.g., administrator) and send queries that are executed with that block's configuration. This can expose administrator-only Source of Truth entries, alter model behavior, and potentially misuse API resources.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- http://moodle.com
- http://openai.com
- https://github.com/onurcangnc/moodle_block_openai_chat
- https://onurcangenc.com.tr/posts/idor-in-moodle-openai-chat-block-block_openai_c
FAQ
What is CVE-2025-60511?
CVE-2025-60511 is a vulnerability with a CVSS score of 4.3 (MEDIUM). Moodle OpenAI Chat Block plugin 3.0.1 (2025021700) suffers from an Insecure Direct Object Reference (IDOR) vulnerability due to insufficient validation of the blockId parameter in /blocks/openai_chat/...
How severe is CVE-2025-60511?
CVE-2025-60511 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-60511?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.