CVE-2022-40313
highpriority · track · 28EPSS 0.007 · 54 %ileEURUUSEPSS · scored 2026-10-27
Recursive rendering of Mustache template helpers containing user input could, in some cases, result in an XSS risk or a page failing to load.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.5–7.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (20)
Products and version ranges known to be affected.
- n/a Moodle≤ 4.0 to 4.0.3, 3.11 to 3.11.9, 3.9 to 3.9.16 and earlier unsupported versionsenisa_euvdEU
- fedoraproject extra packages for enterprise linux= 8.0nvdUScpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:*:*:*:*:*:*:*:*
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-jqgr-gh62-jf53Moodle Stored Cross-site Scripting and page denial of service2022-10-01ghsa · osvUS
Recursive rendering of Mustache template helpers containing user input could, in some cases, result in an Cross-site Scripting risk or a page failing to load.
- BIT-moodle-2022-403132024-03-06vendor · osvUS
Recursive rendering of Mustache template helpers containing user input could, in some cases, result in an XSS risk or a page failing to load.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://bugzilla.redhat.com/show_bug.cgi?id=2128146cnnvd
- https://cxsecurity.com/cveshow/CVE-2022-40313/cnnvd
- https://moodle.org/mod/forum/discuss.php?d=438392cnnvd
- https://moodle.org/mod/forum/discuss.php?d=438392&parent=1764793Patchcnnvd
- https://www.auscert.org.au/bulletins/ESB-2022.4647cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2128146enisa_euvd
- https://moodle.org/mod/forum/discuss.php?d=438392enisa_euvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2128146Issue TrackingThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan