CVE-2025-60511
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-10-21

Last updated on: 2025-10-21

Assigner: 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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-10-21
Last Modified
2025-10-21
Generated
2026-06-16
AI Q&A
2025-10-21
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
moodle openai_chat_block *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-639 The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is an Insecure Direct Object Reference (IDOR) in the Moodle OpenAI Chat Block plugin version 3.0.1. It occurs because the blockId parameter in the API endpoint /blocks/openai_chat/api/completion.php is not properly validated. As a result, an authenticated student can impersonate another user's block, such as an administrator's, and send queries that are executed with that block's configuration.

Impact Analysis

The vulnerability can allow an authenticated student to access administrator-only Source of Truth entries, alter the behavior of the AI model, and potentially misuse API resources. This could lead to unauthorized access to sensitive information and manipulation of system behavior.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-60511. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart