High severity7.1NVD Advisory· Published Sep 30, 2022· Updated Jun 17, 2026
CVE-2022-40313
CVE-2022-40313
Description
Recursive rendering of Mustache template helpers containing user input could, in some cases, result in an XSS risk or a page failing to load.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
moodle/moodlePackagist | >= 3.9, < 3.9.17 | 3.9.17 |
moodle/moodlePackagist | >= 3.11, < 3.11.10 | 3.11.10 |
moodle/moodlePackagist | >= 4.0, < 4.0.4 | 4.0.4 |
Affected products
7- cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
- Mustache/Mustache template helpersdescription
- osv-coords2 versions
>= 3.9.0, < 3.9.17+ 1 more
- (no CPE)range: >= 3.9.0, < 3.9.17
- (no CPE)range: >= 3.9, < 3.9.17
Patches
Vulnerability mechanics
References
4- moodle.org/mod/forum/discuss.phpnvdPatchVendor AdvisoryWEB
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingThird Party AdvisoryWEB
- github.com/advisories/GHSA-jqgr-gh62-jf53ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-40313ghsaADVISORY
News mentions
0No linked articles in our index yet.