PT-2022-5145 · Moodle+2 · Moodle+2
Adam Roberts
·
Published
2020-11-08
·
Updated
2025-05-20
·
CVE-2022-40313
CVSS v2.0
7.5
High
| Vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Name of the Vulnerable Software and Affected Versions
Moodle (affected versions not specified)
Description
The issue is related to the recursive rendering of Mustache template helpers containing user input, which could result in a Cross-site Scripting risk or a page failing to load. This is due to insufficient cleaning of user data in the Mustache template helpers. An attacker could exploit this issue by creating a malicious link that, when clicked, would execute arbitrary HTML and script code in the user's browser within the context of the vulnerable website.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Moodle
Red Os