7.1
CWE
79
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2022-40313: XSS

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-40313?

    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.

  • What is the severity of CVE-2022-40313?

    The severity of CVE-2022-40313 is high with a severity value of 7.1.

  • Which software is affected by CVE-2022-40313?

    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.

  • How can CVE-2022-40313 be fixed?

    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.

  • Where can I find more information about CVE-2022-40313?

    More information about CVE-2022-40313 can be found on the Red Hat Security website, Moodle Git repository, and Bugzilla.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203