Skip to main content
VulnerabilityPublished

CVE-2026-30884: mdjnelson moodle-mod_customcert · Insecure Direct Object Reference

Affects mdjnelson moodle-mod_customcertSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.6 Critical : upgrade to 5.0.3 or 4.4.9 as a priority.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
9.6Critical
How severe the flaw is on the 0–10 CVSS scale.

Contested

Critical score, yet low EPSS after six months
EPSS
0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.0.3, 4.4.9
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade moodle-mod_customcert to 5.0.3 or 4.4.9; mdjnelson/moodle-mod_customcert to 4.4.9.

Affected software

ProductAffectedFixed in
mdjnelsonmoodle-mod_customcertAffected
  • >=5.0.0 <5.0.3
Fixed in
  • 5.0.3
mdjnelsonmoodle-mod_customcertAffected
  • <4.4.9
Fixed in
  • 4.4.9
GitHubmdjnelson/moodle-mod_customcertpkg:github/mdjnelson/moodle-mod_customcertOther threatsAffected
  • <4.4.9
Fixed in
  • 4.4.9

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Organizations should immediately upgrade the mdjnelson moodle-mod_customcert plugin to version 4.4.9 or 5.0.3 or later, where the authorization checks have been properly implemented. Until patching is possible, restrict teacher permissions to only trusted personnel and audit existing teacher roles to minimize exposure. Implement strict role-based access controls and monitor logs for unusual certificate element access or modifications across courses. Consider isolating courses or instances where feasible to limit lateral movement. Regularly review and update Moodle and plugin versions to incorporate security fixes promptly. Additionally, conduct internal audits of issued certificates to detect any unauthorized changes or anomalies that may have occurred prior to patching. Employ network segmentation and secure authentication mechanisms to reduce the risk of privilege escalation to teacher roles.

Description

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.

References

Community reviews

Loading reviews…