-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2022.4647
       MSA-22-0023: Stored XSS and page denial of service risks due
            to recursive rendering in Mustache template helpers
                             20 September 2022

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Moodle
Publisher:         Moodle
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Resolution:        Patch/Upgrade
CVE Names:         CVE-2022-40313  

Original Bulletin: 
   https://moodle.org/mod/forum/discuss.php?d=438392&parent=1764793

Comment: CVSS (Max):  None available when published

- --------------------------BEGIN INCLUDED TEXT--------------------

MSA-22-0023: Stored XSS and page denial of service risks due to recursive
rendering in Mustache template helpers

Recursive rendering of Mustache template helpers containing user input could,
in some cases, result in an XSS risk or a page failing to load.

Severity/Risk:     Serious
Versions affected: 4.0 to 4.0.3, 3.11 to 3.11.9, 3.9 to 3.9.16 and earlier
                  unsupported versions
Versions fixed:    4.0.4, 3.11.10 and 3.9.17
Reported by:       Adam Roberts, NCC Group
CVE identifier:    CVE-2022-40313
Changes (master):  http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-68066
Tracker issue:     MDL-68066 Stored XSS and page denial of service risks due to
                  recursive rendering in Mustache template
                  helpers

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: https://auscert.org.au/gpg-key/

iQIVAwUBYykpMckNZI30y1K9AQjC3A/9ElUVxAuDDhqSBMf8uYYYtgd9DUq74Jq0
StEbho74sTD/XZihd+W9Q//R3vAQVKYorpEseWuraOH4HcdDpPwS0JfQwnGi2VwE
1laZxfi1P0XHDXSetQzvnyt+J1IO0mkbOkofxgLAFAJBsGDhSE8eC2hU9lWFtLPx
fJW2PNQ88NozUMDhAyinnz/x+PcoLVZqOZFC0XglmRjb3M6TbXXzBIoxodcZaE2s
JpYv0w6dGCw5DFGxNFvpoPEd5suI6aQrlLPCFoBe5VA5ZtmJXt/P/Bklb2e2zYNZ
Q+o7/LGwJpINHP8FxydrOgeBoCJZKVS2d4zllKCr1X0Lnvqjs+CEm1/ajOVYyWQe
5AMCGX50xMXoMP1FVFKCsKg1nwbg1d94YSLd/mR7Wcc//Lzfjz8fvRRbyvbAbV8u
u/rXnr8iJ8lZqWDLvSuNwFSSfqKzns19V26Bouxyd2miTEmlLcyRxLn65+i9UWPT
t43Izl2v54ORGhBitGHI9ZQ1PAMsCjOXNyI8u8zE5MYPEJHLYpGItaCjr+5G/YHf
RR0WmFTixYArEoK1uflhKBYN/scWpH+n/IMgkjvly5yJedapDDn6nCzJ+mZZQvK5
wMnLz278X/7FrIjA/jQLtPH4zwT5c90W+PNgCP8ocFV4L7SfSemrdPAOzpTFFvVw
XGv2BKS0hyE=
=ESz/
-----END PGP SIGNATURE-----