CVE-2025-67850Moodle
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 3, 2026
- 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
A flaw was found in moodle. This vulnerability, known as Cross-Site Scripting (XSS), occurs due to insufficient checks on user-provided data in the formula editor's arithmetic expression fields. A remote attacker could inject malicious code into these fields. When other users view these expressions, the malicious code would execute in their web browsers, potentially compromising their data or leading to unauthorized actions.
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.1.22 |
4.1.22 |
composer require "moodle/moodle:^4.1.22" |
| Packagist | moodle/moodle |
≥ 4.4.0-beta < 4.4.12 |
4.4.12 |
composer require "moodle/moodle:^4.4.12" |
| Packagist | moodle/moodle |
≥ 4.5.0-beta < 4.5.8 |
4.5.8 |
composer require "moodle/moodle:^4.5.8" |
| Packagist | moodle/moodle |
≥ 5.0.0-beta < 5.0.4 |
5.0.4 |
composer require "moodle/moodle:^5.0.4" |
| Packagist | moodle/moodle |
≥ 5.1.0-beta < 5.1.1 |
5.1.1 |
composer require "moodle/moodle:^5.1.1" |
Per OSV / GitHub Advisories (GHSA-6mmv-f6c6-v6q8). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | < 4.1.22 |
| moodle | moodle | ≥ 4.4.0 < 4.4.11 |
| moodle | moodle | ≥ 4.5.0 < 4.5.8 |
| moodle | moodle | ≥ 5.0.0 < 5.0.4 |
| moodle | moodle | 5.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Third Party Advisory
- bugzilla.redhat.com Issue Tracking Third Party Advisory