CVE-2023-23921GHSA-97QF-PQ7X-964MBIT-MOODLE-2023-23921
Moodle: reflected xss risk in some returnurl parameters
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.1.1, 4.0.6, 3.11.12, 3.9.19
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
The vulnerability was found Moodle which exists due to insufficient sanitization of user-supplied data in some returnurl parameters. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website. This flaw allows a remote attacker to perform cross-site scripting (XSS) attacks.
Timeline
- CVE published
- Record last updated
Affected versions
- moodle
From 4.1.0 · fixed in 4.1.1; From 4.0.0 · fixed in 4.0.6; From 3.11.0 · fixed in 3.11.12; fixed in 3.9.19
- moodle/moodlePackagist
fixed in 3.9.19
- moodle/moodlePackagist
From 3.10.0 · fixed in 3.11.12
- moodle/moodlePackagist
From 4.0.0-beta · fixed in 4.0.6
- moodle/moodlePackagist
From 4.1.0-beta · fixed in 4.1.1