{"id":"CVE-2026-30884","aliases":["CVE-2026-30884"],"related":[],"kind":"vulnerability","state":"published","title":"mdjnelson/moodle-mod_customcert Vulnerable to Authorization Bypass Through User-Controlled Key","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"mdjnelson/moodle-mod_customcert es un plugin de Moodle para crear certificados generados dinámicamente con personalización completa a través del navegador web. Antes de las versiones 4.4.9 y 5.0.3, un profesor que posee 'mod/customcert:manage' en cualquier curso individual puede leer y sobrescribir silenciosamente elementos de certificado pertenecientes a cualquier otro curso en la instalación de Moodle. La devolución de llamada 'core_get_fragment' 'editelement' y el servicio web 'mod_customcert_save_element' ambos no verifican que el 'elementid' proporcionado pertenezca al contexto autorizado, lo que permite la revelación de información entre cursos y la manipulación de datos. Las versiones 4.4.9 y 5.0.3 solucionan el problema.","source":"nvd"}],"published":"2026-03-18T02:26:30.420Z","modified":"2026-06-17T10:33:05.407Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":9.6,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":9.6,"rating":"CRITICAL"}],"cwes":["CWE-639"],"affected":[{"ranges":[{"version":"< 4.4.9","status":"affected"},{"version":">= 5.0.0, < 5.0.3","status":"affected"}],"vendor":"mdjnelson","product":"moodle-mod_customcert","source":"cvelist"}],"references":[{"url":"https://github.com/mdjnelson/moodle-mod_customcert/security/advisories/GHSA-8pjr-j7r4-ccjx","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mdjnelson/moodle-mod_customcert/commit/a1494a80fb953f187f7888a7394cbf9d13c28468","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mdjnelson/moodle-mod_customcert/commit/ddc8f01f1e19fb61202f6013a38ef757486d3ba0","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-03-18T19:13:43.965Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-30884","url":"https://www.cve.org/CVERecord?id=CVE-2026-30884","licence":"CVE Terms of Use","modified":"2026-03-18T19:17:40.756Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-30884","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30884","licence":"Public domain","modified":"2026-06-17T10:33:05.407Z"}],"updatedAt":"2026-11-25T22:59:16.081Z","epss":{"score":0.00187,"percentile":0.08706,"date":"2026-12-01T12:00:22.000Z"}}