# CVE-2026-30884: mdjnelson/moodle-mod_customcert Vulnerable to Authorization Bypass Through User-Controlled Key

- Severity: Critical 9.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-03-18T02:26:30.420Z
- Modified: 2026-06-17T10:33:05.407Z
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- mdjnelson moodle-mod_customcert: < 4.4.9; >= 5.0.0, < 5.0.3

## References

- <https://github.com/mdjnelson/moodle-mod_customcert/security/advisories/GHSA-8pjr-j7r4-ccjx>
- <https://github.com/mdjnelson/moodle-mod_customcert/commit/a1494a80fb953f187f7888a7394cbf9d13c28468>
- <https://github.com/mdjnelson/moodle-mod_customcert/commit/ddc8f01f1e19fb61202f6013a38ef757486d3ba0>

## Sources

- CVE List: [CVE-2026-30884](https://www.cve.org/CVERecord?id=CVE-2026-30884), CVE Terms of Use, modified 2026-03-18
- NVD: [CVE-2026-30884](https://nvd.nist.gov/vuln/detail/CVE-2026-30884), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-30884 · Whole record: https://cve.day/CVE-2026-30884.json · Rebuilt by cve.day 2026-11-25T22:59:16.081Z
