CVE-2025-3643Moodle
Medium 5.4
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 25, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Moodle.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
< 4.1.18 |
4.1.18 |
composer require "moodle/moodle:^4.1.18" |
| Packagist | moodle/moodle |
≥ 4.3.0-beta < 4.3.12 |
4.3.12 |
composer require "moodle/moodle:^4.3.12" |
| Packagist | moodle/moodle |
≥ 4.4.0-beta < 4.4.8 |
4.4.8 |
composer require "moodle/moodle:^4.4.8" |
| Packagist | moodle/moodle |
≥ 4.5.0-beta < 4.5.4 |
4.5.4 |
composer require "moodle/moodle:^4.5.4" |
Per OSV / GitHub Advisories (GHSA-hxgg-4qww-85ph). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | < 4.1.18 |
| moodle | moodle | ≥ 4.3.0 < 4.3.12 |
| moodle | moodle | ≥ 4.4.0 < 4.4.8 |
| moodle | moodle | ≥ 4.5.0 < 4.5.4 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Third Party Advisory
- bugzilla.redhat.com Issue Tracking
- moodle.org Vendor Advisory