Description
A flaw was found in mooodle. A remote attacker could exploit a reflected Cross-Site Scripting (XSS) vulnerability in the policy tool return URL. This vulnerability arises from insufficient sanitization of URL parameters, allowing attackers to inject malicious scripts through specially crafted links. Successful exploitation could lead to information disclosure or arbitrary client-side script execution within the user's browser.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | moodle | 4.1.0 – < 4.1.22, 4.4.0 – < 4.4.12, 4.5.0 – < 4.5.8, 5.0.0 – < 5.0.4, 5.1.0 – < 5.1.1 | 4.1.22 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | moodle | No fix yet | — |
| Ubuntu Pro 16.04 LTS | moodle | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | moodle/moodle | < 4.1.22 | 4.1.22 | GHSA-vwhw-vp9v-q9c9 |
| Packagist | moodle/moodle | >= 4.4.0-beta, < 4.4.12 | 4.4.12 | GHSA-vwhw-vp9v-q9c9 |
| Packagist | moodle/moodle | >= 4.5.0-beta, < 4.5.8 | 4.5.8 | GHSA-vwhw-vp9v-q9c9 |
| Packagist | moodle/moodle | >= 5.0.0-beta, < 5.0.4 | 5.0.4 | GHSA-vwhw-vp9v-q9c9 |
| Packagist | moodle/moodle | >= 5.1.0-beta, < 5.1.1 | 5.1.1 | GHSA-vwhw-vp9v-q9c9 |
Advisories 1
- WID-SEC-2025-2851 Moodle: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 3, 2026
References
- https://access.redhat.com/security/cve/CVE-2025-67855 vdb-entry
- RHBZ#2423861 issue-tracking