What’s Vulnerable › Vulnerabilities
CVE-2023-5546: Moodle: stored xss in quiz grading report via user id number
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-11-09 · updated 2026-06-17
- Weakness: CWE-79
Description
ID numbers displayed in the quiz grading report required additional sanitizing to prevent a stored XSS risk.
Affected products
- Fedoraproject Fedora: 37, 38, 39
- Moodle: from 4.0.0 before 4.0.11; from 4.1.0 before 4.1.6; from 4.2.0 before 4.2.3 — fixed in 4.0.11, 4.1.6, 4.2.3
- Red Hat Enterprise Linux: 7.0
How to fix
Upgrade to a fixed version: Moodle 4.0.11, 4.1.6, 4.2.3. Check the vendor advisory for mitigations.
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-78971
- https://bugzilla.redhat.com/show_bug.cgi?id=2243445
- https://moodle.org/mod/forum/discuss.php?d=451587
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-78971
- https://bugzilla.redhat.com/show_bug.cgi?id=2243445
- https://moodle.org/mod/forum/discuss.php?d=451587
Get alerted when CVE-2023-5546 or the next vulnerability affects your stack