Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessTeacher obtains mod/customcert:manage in one course
-
ExploitCraft API call with elementid from different course
-
ExecutionBypass context verification in editelement callback
-
ImpactRead or overwrite certificate elements across courses
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Requires Moodle with mod_customcert plugin versions prior to 4.4.9 or 5.0.3. Attacker must be authenticated as a teacher holding mod/customcert:manage capability in at least one course. No victim interaction needed. Exploits missing authorization checks in core_get_fragment callback and mod_customcert_save_element web service to access certificate elements across courses. |
| Impact | The real-world risk is high due to multiple converging factors. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C) indicates network-exploitable attacks with low complexity requiring only low privileges (teacher role) and no user interaction, with scope change indicating impact beyond the vulnerable component's security context. The Changed scope (S:C) is particularly significant as it allows cross-course boundary violations in multi-tenant Moodle installations. While no EPSS score or KEV status is provided in the intelligence data, the combination of low attack complexity, readily available teacher accounts in educational institutions, and confirmed patch commits (a1494a80fb and ddc8f01f1e) demonstrating the fix implementation suggest this is exploitable by moderately skilled attackers. The GitHub Security Advisory (GHSA-8pjr-j7r4-ccjx) provides detailed disclosure, potentially enabling proof-of-concept development. Organizations running Moodle with multiple courses and the customcert plugin should prioritize this as a critical remediation item, particularly in multi-tenant educational environments where course isolation is a fundamental security boundary. |
| Exploit ScenarioDerived | A malicious teacher with the mod/customcert:manage permission in Course A discovers certificate element IDs used in Course B through parameter enumeration or social engineering. They craft requests to the editelement callback or mod_customcert_save_element web service with the Course B element IDs, successfully reading sensitive certificate template information (such as organizational signatures, seals, or credential formats) and silently modifying certificate elements to insert fraudulent information, alter grading criteria visibility, or sabotage another instructor's course certificates. Since the attack vector is network-based with low complexity and no user interaction required, the attacker can automate cross-course reconnaissance and modification at scale across the entire Moodle installation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 18, 2026
Cross-course privilege escalation in Moodle Mod Customcert allows authenticated teachers with certificate management rights in any course to read and modify certificate data across the entire Moodle installation due to missing context validation in the editelement callback and save_element web service. An attacker with mod/customcert:manage permissions in a single course can exploit this to disclose sensitive certificate information from other courses or tamper with their certificate elements. Versions 4.4.9 and 5.0.3 patch the vulnerability, but no patch is currently available for affected versions.
Earlier versions of this analysis (1)
A privilege escalation and information disclosure vulnerability exists in the mdjnelson/moodle-mod_customcert plugin for Moodle, allowing teachers with mod/customcert:manage permission in any single course to read and silently overwrite certificate elements belonging to any other course in the entire Moodle installation. The vulnerability affects versions prior to 4.4.9 and versions 5.0.0 through 5.0.2. With a CVSS score of 9.6 (Critical), this represents a serious cross-context authorization bypass that enables both high confidentiality and integrity impact across course boundaries.
RemediationAI
Upgrade the mdjnelson/moodle-mod_customcert plugin to version 4.4.9 or later for the 4.x branch, or to version 5.0.3 or later for the 5.x branch. The fixes are documented in commits a1494a80fb953f187f7888a7394cbf9d13c28468 and ddc8f01f1e19fb61202f6013a38ef757486d3ba0 available at https://github.com/mdjnelson/moodle-mod_customcert/commit/a1494a80fb953f187f7888a7394cbf9d13c28468 and https://github.com/mdjnelson/moodle-mod_customcert/commit/ddc8f01f1e19fb61202f6013a38ef757486d3ba0. If immediate patching is not possible, consider temporarily disabling the customcert module or restricting the mod/customcert:manage capability to only highly trusted users while conducting an audit of certificate elements for unauthorized modifications. Review the full security advisory at https://github.com/mdjnelson/moodle-mod_customcert/security/advisories/GHSA-8pjr-j7r4-ccjx for additional context.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability affects the mdjnelson/moodle-mod_customcert plugin (CPE: cpe:2.3:a:mdjnelson:moodle-mod_customcert), a Moodle module written in PHP that enables dynamic certificate generation with web-based customization. The root cause is CWE-639 (Authorization Bypass Through User-Controlled Key), where the core_get_fragment callback 'editelement' and the mod_customcert_save_element web service fail to verify that a supplied elementid parameter belongs to the authorized context. This allows an attacker to manipulate the elementid parameter to reference certificate elements from courses they should not have access to, breaking Moodle's context-based permission model. The vulnerability demonstrates a classic Insecure Direct Object Reference (IDOR) pattern where user-supplied identifiers are trusted without proper authorization checks against the current security context.
Know when Moodle Mod Customcert gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
mdjnelson/moodle-mod_customcert is a Moodle plugin for creating dynamically generated certificates with complete customization via the web browser. Prior to versions 4.4.9 and 5.0.3, a teacher who holds mod/customcert:manage in any single course can read and silently overwrite certificate elements belonging to any other course in the Moodle installation. The core_get_fragment callback editelement and the mod_customcert_save_element web service both fail to verify that the supplied elementid belongs to the authorized context, enabling cross-course information disclosure and data tampering. Versions 4.4.9 and 5.0.3 fix the issue.
Executive ViewAI
CVE-2026-30884 is a critical privilege escalation flaw in Moodle's Custom Certificate module that allows authenticated teachers to access and modify certificate data across the entire installation, bypassing course-level access controls. Any educator with certificate management rights in a single course can exploit this to steal sensitive certificate information from other courses or alter their contents, directly compromising institutional data governance and certificate integrity.
Until patching: restrict mod/customcert:manage role assignment to designated admins only; disable the Custom Certificate module if not operationally critical; implement database-level audit logging on certificate tables to detect unauthorized access; segregate certificate management to a separate, air-gapped administrative interface. Apply vendor patch (versions 4.4.9 or 5.0.3) as primary remediation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-12745
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB