# CVE-2025-3643: Moodle: reflected xss risk in policy tool

- Severity: Medium 5.4 (CVSS:3.1, scored by fedora) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2025-04-25T14:43:10.125Z
- Modified: 2026-09-08T08:48:15.529Z
- Also known as: GHSA-hxgg-4qww-85ph, BIT-MOODLE-2025-3643
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: fedora

## 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.

(As written by CVE List.)

## Affected

- moodle: from 4.5.0 before 4.5.4; from 4.4.0 before 4.4.8; from 4.3.0 before 4.3.12; from 4.1.0 before 4.1.18
- moodle/moodle (Packagist): before 4.1.18; from 4.3.0-beta before 4.3.12; from 4.4.0-beta before 4.4.8; from 4.5.0-beta before 4.5.4
- 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
- moodle (Bitnami): 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

## Every score

- fedora: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://access.redhat.com/security/cve/CVE-2025-3643> (advisory, third-party-advisory, vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2359742> (issue-tracking, report, web)
- <https://moodle.org/mod/forum/discuss.php?d=467604> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-3643> (advisory, web)
- <https://github.com/moodle/moodle/commit/ff9bbd6d9e7d6267ce85e6c9afbeb19581f2a85f> (web)
- <https://github.com/moodle/moodle> (package)

## Sources

- CVE List: [CVE-2025-3643](https://www.cve.org/CVERecord?id=CVE-2025-3643), CVE Terms of Use, modified 2025-04-28
- GitHub Advisory Database: [GHSA-hxgg-4qww-85ph](https://github.com/advisories/GHSA-hxgg-4qww-85ph), CC-BY-4.0, modified 2026-01-26
- NVD: [CVE-2025-3643](https://nvd.nist.gov/vuln/detail/CVE-2025-3643), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2025-3643](https://osv.dev/vulnerability/BIT-MOODLE-2025-3643), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-3643 · Whole record: https://cve.day/CVE-2025-3643.json · Rebuilt by cve.day 2026-11-25T22:58:56.931Z
