mdjnelson/moodle-mod_customcert Vulnerable to Authorization Bypass Through User-Controlled Key

Summary

CVECVE-2026-30884
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-03-18 04:17:18 UTC
Updated2026-04-16 14:46:24 UTC
Descriptionmdjnelson/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.

Risk And Classification

Primary CVSS: v3.1 9.6 CRITICAL from [email protected]

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

EPSS: 0.000200000 probability, percentile 0.055340000 (date 2026-04-21)

Problem Types: CWE-639 | CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary9.6CRITICALCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
3.1CNADECLARED9.6CRITICALCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Mdjnelson Moodle-mod Customcert affected < 4.4.9 Not specified
CNA Mdjnelson Moodle-mod Customcert affected >= 5.0.0, < 5.0.3 Not specified

References

ReferenceSourceLinkTags
github.com/mdjnelson/moodle-mod_customcert/commit/ddc8f01f1e19fb61202f60... [email protected] github.com
github.com/mdjnelson/moodle-mod_customcert/security/advisories/GHSA-8pjr... [email protected] github.com
github.com/mdjnelson/moodle-mod_customcert/commit/a1494a80fb953f187f7888... [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report