# CVE-2025-67851: Moodle: moodle: formula injection allows arbitrary formula execution via unescaped data export

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-03 · Modified: 2026-02-03
- Aliases: UBUNTU-CVE-2025-67851
- Record: https://cvemate.com/vulnerability/CVE-2025-67851 · JSON: https://cvemate.com/vulnerability/CVE-2025-67851/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.286%, percentile 22.654%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu moodle (Ubuntu): All versions (No fix recorded)
- moodle moodle: \< 4.1.22 \| ≥ 4.4.0, \< 4.4.11 \| ≥ 4.5.0, \< 4.5.8 \| ≥ 5.0.0, \< 5.0.4 \| 5.1.0

## References

- <https://access.redhat.com/security/cve/CVE-2025-67851>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2423841>
- <https://moodle.org/mod/forum/discuss.php?d=471301>
- <https://ubuntu.com/security/CVE-2025-67851>
- <https://www.cve.org/CVERecord?id=CVE-2025-67851>

---

Data as of 2026-12-05T11:47:44.138Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
