CVE-2022-40313

HIGH

moodle 3.9.0-3.9.16 - Cross-Site Scripting via Mustache Template Helper Recursive Rendering

Title source: llm
STIX 2.1

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.

References (2)

Core 2
Core References
Issue Tracking, Third Party Advisory x_refsource_misc
https://bugzilla.redhat.com/show_bug.cgi?id=2128146
Patch, Vendor Advisory x_refsource_misc
https://moodle.org/mod/forum/discuss.php?d=438392

Scores

CVSS v3 7.1
EPSS 0.0036
EPSS Percentile 58.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (5)
fedoraproject/extra_packages_for_enterprise_linux 8.0
fedoraproject/fedora 35
fedoraproject/fedora 36
moodle/moodle 3.9 - 3.9.17Packagist
moodle/moodle 3.9.0 - 3.9.17
Published Sep 30, 2022
Tracked Since Feb 18, 2026