GHSA-hxgg-4qww-85ph
Moodle has reflected Cross-site Scripting risk in policy tool
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | moodle/moodle | < 4.1.18 | 4.1.18 |
| Packagist | moodle/moodle | >= 4.3.0-beta, < 4.3.12 | 4.3.12 |
| Packagist | moodle/moodle | >= 4.4.0-beta, < 4.4.8 | 4.4.8 |
| Packagist | moodle/moodle | >= 4.5.0-beta, < 4.5.4 | 4.5.4 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2025-3643
- https://github.com/moodle/moodle/commit/ff9bbd6d9e7d6267ce85e6c9afbeb19581f2a85f
- https://access.redhat.com/security/cve/CVE-2025-3643
- https://bugzilla.redhat.com/show_bug.cgi?id=2359742
- https://github.com/moodle/moodle
- https://moodle.org/mod/forum/discuss.php?d=467604