GHSA-hxgg-4qww-85phmedium5.4
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
moodle/moodle Packagist
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 4.1.18Ecosystem versions | 4.1.18 |
| From 4.3.0-beta before 4.3.12Ecosystem versions | 4.3.12 |
| From 4.4.0-beta before 4.4.8Ecosystem versions | 4.4.8 |
| From 4.5.0-beta before 4.5.4Ecosystem versions | 4.5.4 |
Version evidence: OSV · GHSA-hxgg-4qww-85ph
View original version evidence (383 explicit versions)
Original source description
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
- Security advisory nvd.nist.gov/vuln/detail/CVE-2025-3643
- Patch github.com/moodle/moodle/commit/ff9bbd6d9e7d6267ce85e6c9afbeb19581f2a85f
- Security advisory access.redhat.com/security/cve/CVE-2025-3643
- Source reference bugzilla.redhat.com/show_bug.cgi
- Source reference github.com/moodle/moodle
- Source reference moodle.org/mod/forum/discuss.php