Vulnerability · Published May 18, 2022 · Assigned by fedora
CVE-2022-30596
Medium 5.4
In plain English
A medium-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.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.4Medium
Exploit odds (30 days)0.9%top 40.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
A flaw was found in moodle where ID numbers displayed when bulk allocating markers to assignments required additional sanitizing to prevent a stored XSS risk.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | moodle/moodle | 4.0.1 | GHSA-wvh5-78h5-gmgr |
| Packagist | moodle/moodle | 3.11.7 | GHSA-wvh5-78h5-gmgr |
| Packagist | moodle/moodle | 3.10.11 | GHSA-wvh5-78h5-gmgr |
| Packagist | moodle/moodle | 3.9.14 | GHSA-wvh5-78h5-gmgr |
Affected products (as reported)
Weakness: CWE-79
References
- https://moodle.org/mod/forum/discuss.php?d=434578 x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=2083583 x_refsource_MISC
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-74204 x_refsource_MISC
- FEDORA-2022-89bfefbe48 vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-bd4457bcc4 vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-530fdc5202 vendor-advisory, x_refsource_FEDORA