CVE-2025-60511: Medium severity Moodle OpenAI Chat Block plugin vulnerability

Published Oct 21, 2025
·
Updated

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/openaichat/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.

Affected Software

1 affected component
Moodle OpenAI Chat Block plugin

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Moodle OpenAI Chat Block plugin to a version that resolves this vulnerability.

    Fixed in 3.0.1 (2025021700)
  2. Configuration

    Update the plugin so the blockId parameter is validated and tied to the authenticated user/session authorization; reject any blockId that the user is not permitted to access.

    Moodle OpenAI Chat Block plugin (/blocks/openai_chat/api/completion.php) blockId parameter validation = enforce strict authorization checks to ensure the authenticated user is allowed to use the specified blockId before executing completion using that block’s configuration
  3. Compensating control

    Restrict access to the Moodle endpoint /blocks/openai_chat/api/completion.php (e.g., via network controls/ACL/WAF) so authenticated users cannot call it to impersonate other users’ block configurations.

Event History

Oct 21, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-60511?

CVE-2025-60511 is classified as a high-severity vulnerability due to the potential for unauthorized access to another user's data.

2

How do I fix CVE-2025-60511?

To address CVE-2025-60511, update the Moodle OpenAI Chat Block plugin to the latest version that includes a fix for the insecure direct object reference (IDOR) issue.

3

Who is affected by CVE-2025-60511?

CVE-2025-60511 affects users of the Moodle OpenAI Chat Block plugin version 3.0.1 and earlier who have authenticated access.

4

What kind of attacks can exploit CVE-2025-60511?

CVE-2025-60511 can be exploited to impersonate other users, allowing an authenticated student to access or manipulate another user's block.

5

Is CVE-2025-60511 a known issue in previous versions?

Yes, CVE-2025-60511 is a known issue that exists in Moodle OpenAI Chat Block plugin versions prior to the patch release addressing the IDOR vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203