What’s Vulnerable › Vulnerabilities
CVE-2022-30596
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-05-18 · updated 2026-06-17
- Weakness: CWE-79
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 products
- Fedoraproject Fedora: 34, 35, 36
- Moodle: from 3.9 before 3.9.14; from 3.10 before 3.10.11; from 3.11 before 3.11.7; 4.0.0 — fixed in 3.10.11, 3.11.7, 3.9.14
- Red Hat Enterprise Linux: 8.0
How to fix
Upgrade to a fixed version: Moodle 3.10.11, 3.11.7, 3.9.14. Check the vendor advisory for mitigations.
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-74204
- https://bugzilla.redhat.com/show_bug.cgi?id=2083583
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OGF35EN5K2R6X3NTY3XPZSJ3UDASMXI6/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PIMSIRKCFLIC646K4GMUSZU7THOUVPAJ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QCTWSE3JDMSYL7DPCMXMMJEXZSS6VIA5/
- https://moodle.org/mod/forum/discuss.php?d=434578
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-74204
- https://bugzilla.redhat.com/show_bug.cgi?id=2083583
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OGF35EN5K2R6X3NTY3XPZSJ3UDASMXI6/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PIMSIRKCFLIC646K4GMUSZU7THOUVPAJ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QCTWSE3JDMSYL7DPCMXMMJEXZSS6VIA5/
- https://moodle.org/mod/forum/discuss.php?d=434578
Get alerted when CVE-2022-30596 or the next vulnerability affects your stack