CVE-2022-40313Cross-site Scripting in Moodle

Severity
7.1HIGHNVD
EPSS
0.4%
top 41.79%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 30
Latest updateAug 17

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:LExploitability: 2.8 | Impact: 3.7

Affected Packages4 packages

NVDmoodle/moodle3.9.03.9.17+2
Packagistmoodle/moodle3.93.9.17+2
CVEListV5moodle/moodle4.0 to 4.0.3, 3.11 to 3.11.9, 3.9 to 3.9.16 and earlier unsupported versions

Also affects: Fedora 35, 36

Patches

🔴Vulnerability Details

5
GHSA
OpenNMS vulnerable to remote code execution2023-08-17
OSV
Moodle Stored Cross-site Scripting and page denial of service2022-10-01
GHSA
Moodle Stored Cross-site Scripting and page denial of service2022-10-01
OSV
CVE-2022-40313: Recursive rendering of Mustache template helpers containing user input could, in some cases, result in an XSS risk or a page failing to load2022-09-30
CVEList
CVE-2022-40313: Recursive rendering of Mustache template helpers containing user input could, in some cases, result in an XSS risk or a page failing to load2022-09-30