Vulnerability · Published Sep 30, 2022 · Assigned by fedora
CVE-2022-40313
High 7.1
In plain English
A high-severity cross-site scripting in moodle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.1High
Exploit odds (30 days)0.7%top 46.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | moodle/moodle | 3.9.17 | GHSA-jqgr-gh62-jf53 |
| Packagist | moodle/moodle | 3.11.10 | GHSA-jqgr-gh62-jf53 |
| Packagist | moodle/moodle | 4.0.4 | GHSA-jqgr-gh62-jf53 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2128146 x_refsource_MISC
- https://moodle.org/mod/forum/discuss.php?d=438392 x_refsource_MISC