CVE-2025-26530Moodle
Medium 6.1 No auth needed
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- —
- Auth required
- No
- Published
- Feb 24, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
The question bank filter required additional sanitizing to prevent a reflected XSS risk.
What to do
- Apply the vendor's security update for Moodle.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
≥ 4.5.0-beta < 4.5.2 |
4.5.2 |
composer require "moodle/moodle:^4.5.2" |
| Packagist | moodle/moodle |
≥ 4.4.0-beta < 4.4.6 |
4.4.6 |
composer require "moodle/moodle:^4.4.6" |
| Packagist | moodle/moodle |
≥ 4.3.0-beta < 4.3.10 |
4.3.10 |
composer require "moodle/moodle:^4.3.10" |
Per OSV / GitHub Advisories (GHSA-4w32-c9g7-27qx). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | ≥ 4.3.0 < 4.3.10 |
| moodle | moodle | ≥ 4.4.0 < 4.4.6 |
| moodle | moodle | ≥ 4.5.0 < 4.5.2 |
Official sources
References
Links published by the sources. Open them with care.
- git.moodle.org Patch
- moodle.org Vendor Advisory