High severityNVD Advisory· Published Sep 30, 2022· Updated May 20, 2025
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
3- 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
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/advisories/GHSA-jqgr-gh62-jf53ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-40313ghsaADVISORY
- bugzilla.redhat.com/show_bug.cgighsax_refsource_MISCWEB
- moodle.org/mod/forum/discuss.phpghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.