Recursive rendering of Mustache template helpers containing user input could, in some cases, result in an XSS risk or a page failing to load.
| Severity/Risk: | Serious |
| Versions affected: | 4.0 to 4.0.3, 3.11 to 3.11.9, 3.9 to 3.9.16 and earlier unsupported versions |
| Versions fixed: | 4.0.4, 3.11.10 and 3.9.17 |
| Reported by: | Adam Roberts, NCC Group |
| CVE identifier: | CVE-2022-40313 |
| Changes (master): | http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-68066 |
| Tracker issue: | MDL-68066 Stored XSS and page denial of service risks due to recursive rendering in Mustache template helpers |