# CVE-2025-60511: Moodle OpenAI Chat Block plugin 3.0.1 (2025021700) suffers from an Insecure Direct Object Reference (IDOR) vulnerability due to insufficien…

- Severity: Medium 4.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- 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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-10-21T00:00:00.000Z
- Modified: 2026-11-05T22:10:00.203Z
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://onurcangenc.com.tr/posts/idor-in-moodle-openai-chat-block-block_openai_chat-proof-of-concept-poc--cve-2025-60511/>
- <https://github.com/onurcangnc/moodle_block_openai_chat>

## Sources

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

---

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