{"id":"CVE-2026-30884","published":"2026-03-18T02:26:30Z","modified":"2026-03-18T19:17:40Z","title":"mdjnelson/moodle-mod_customcert Vulnerable to Authorization Bypass Through User-Controlled Key","vendor":"mdjnelson","product":"moodle-mod_customcert","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.6,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00322,"percentile":0.17608,"provenance":"source"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://github.com/mdjnelson/moodle-mod_customcert/security/advisories/GHSA-8pjr-j7r4-ccjx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mdjnelson/moodle-mod_customcert/commit/a1494a80fb953f187f7888a7394cbf9d13c28468","tags":["x_refsource_MISC"]},{"url":"https://github.com/mdjnelson/moodle-mod_customcert/commit/ddc8f01f1e19fb61202f6013a38ef757486d3ba0","tags":["x_refsource_MISC"]}],"priority":{"score":10.2,"factors":[{"name":"EPSS percentile","points":3.52},{"name":"CVSS severity","points":6.72}]},"vendorSlug":"mdjnelson","affectedVersions":[{"vendor":"mdjnelson","product":"moodle-mod_customcert","versions":["< 4.4.9",">= 5.0.0, < 5.0.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-03-18T19:13:43.965152Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-12745","exploited":false,"provenance":"source"}}