First published: Tue Sep 20 2022(Updated: )
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.
Credit: patrick@puiterwijk.org patrick@puiterwijk.org
Affected Software | Affected Version | How to fix |
---|---|---|
Moodle Moodle | >=3.9.0<3.9.17 | |
Moodle Moodle | >=3.11.0<3.11.10 | |
Moodle Moodle | >=4.0.0<4.0.4 | |
Fedoraproject Extra Packages For Enterprise Linux | =8.0 | |
Fedoraproject Fedora | =35 | |
Fedoraproject Fedora | =36 | |
composer/moodle/moodle | >=4.0<4.0.4 | 4.0.4 |
composer/moodle/moodle | >=3.11<3.11.10 | 3.11.10 |
composer/moodle/moodle | >=3.9<3.9.17 | 3.9.17 |
>=3.9.0<3.9.17 | ||
>=3.11.0<3.11.10 | ||
>=4.0.0<4.0.4 | ||
=8.0 | ||
=35 | ||
=36 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-40313 is a vulnerability that allows recursive rendering of Mustache template helpers containing user input, potentially resulting in an XSS risk or a page failing to load.
The severity of CVE-2022-40313 is high with a severity value of 7.1.
The affected software includes Moodle versions 3.9.0 to 3.9.17, 3.11.0 to 3.11.10, and 4.0.0 to 4.0.4, as well as Fedora Project Extra Packages For Enterprise Linux 8.0, Fedora 35, and Fedora 36.
To fix CVE-2022-40313, users should update their Moodle software to a secure version and apply any necessary patches or updates provided by the vendor.
More information about CVE-2022-40313 can be found on the Red Hat Security website, Moodle Git repository, and Bugzilla.