medium5.4
CVE-2025-3643
Moodle has reflected Cross-site Scripting risk in policy tool
Impact
A flaw was found in Moodle. The return URL in the policy tool required additional sanitizing to prevent a reflected Cross-site scripting (XSS) risk.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | moodle/moodle | < 4.1.18 | 4.1.18 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Moodle | Moodle | before 4.1.18 from 4.3.0 before 4.3.12 from 4.4.0 before 4.4.8 from 4.5.0 before 4.5.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/security/cve/CVE-2025-3643
- https://bugzilla.redhat.com/show_bug.cgi?id=2359742
- https://moodle.org/mod/forum/discuss.php?d=467604
- https://github.com/advisories/GHSA-hxgg-4qww-85ph
- https://nvd.nist.gov/vuln/detail/CVE-2025-3643
- https://github.com/moodle/moodle/commit/ff9bbd6d9e7d6267ce85e6c9afbeb19581f2a85f