CVE-2025-67851
HIGH 7.8CVSS 3.1Moodle formula injection vulnerability
A flaw was found in moodle. This formula injection vulnerability occurs when data fields are exported without proper escaping. A remote attacker could exploit this by providing malicious data that, when exported and opened in a spreadsheet, allows arbitrary formulas to execute. This can lead to compromised data integrity and unintended operations within the spreadsheet.
- Published
- 3 Feb 2026
- Last modified
- 17 Jun 2026
- Assigned by
- patrick@puiterwijk.org
- NVD status
- Analyzed
- Weakness
- CWE-1236
- Also known as
- BIT-moodle-2025-67851GHSA-qfh6-h7j6-fvjv
- Sources
- NVDJSONOSV GHSA-qfh6-h7j6-fvjvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | patrick@puiterwijk.org (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
< 4.1.22 | 4.1.22 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.4.0, < 4.4.11 | 4.4.11 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.5.0, < 4.5.8 | 4.5.8 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.0.4 | 5.0.4 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:5.1.0:-:*:*:*:*:*:* |
= 5.1.0 | |
| OSV | Packagist | moodle/moodle | < 4.1.22 | 4.1.22 |
| OSV | Packagist | moodle/moodle | >= 4.4.0-beta, < 4.4.12 | 4.4.12 |
| OSV | Packagist | moodle/moodle | >= 4.5.0-beta, < 4.5.8 | 4.5.8 |
| OSV | Packagist | moodle/moodle | >= 5.0.0-beta, < 5.0.4 | 5.0.4 |
| OSV | Packagist | moodle/moodle | >= 5.1.0-beta, < 5.1.1 | 5.1.1 |
References
- https://access.redhat.com/security/cve/CVE-2025-67851 · Third Party Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2423841 · Issue Tracking, Third Party Advisory, WEB
- https://moodle.org/mod/forum/discuss.php?d=471301 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-67851 · ADVISORY
- https://github.com/moodle/moodle/commit/29820c5ff4ef381c7a743091ec5c68ac82903b22 · WEB
- https://github.com/moodle/moodle/commit/aa66bacd0783cbc33528fba9c2adca1f685a59bd · WEB
- https://github.com/moodle/moodle/commit/dc57ccc491a2a04032445a3ee92fd0d335ebd746 · WEB
- https://github.com/moodle/moodle · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 3 Feb 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 3 Feb 2026)