{"id":"BIT-moodle-2022-40313","details":"Recursive rendering of Mustache template helpers containing user input could, in some cases, result in an XSS risk or a page failing to load.","aliases":["CVE-2022-40313","GHSA-jqgr-gh62-jf53"],"modified":"2026-09-08T08:48:15.038732946Z","published":"2024-03-06T11:02:59.010Z","database_specific":{"severity":"High","cpes":["cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*"]},"references":[{"type":"ADVISORY","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2128146"},{"type":"ADVISORY","url":"https://moodle.org/mod/forum/discuss.php?d=438392"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40313"}],"affected":[{"package":{"name":"moodle","ecosystem":"Bitnami","purl":"pkg:bitnami/moodle"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.9.0"},{"fixed":"3.9.17"},{"introduced":"3.11.0"},{"fixed":"3.11.10"},{"introduced":"4.0.0"},{"fixed":"4.0.4"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/moodle/BIT-moodle-2022-40313.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L"}]}],"schema_version":"1.9.0"}