CVE-2025-67851: Moodle: moodle: formula injection allows arbitrary formula execution via unescaped data export
Vulnerability summary
CVE-2025-67851 is a high (CVSS 7.8) vulnerability in moodle. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 22.6% of scored vulnerabilities.
Not severe (CVSS 6.1, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 03-02-2026PublishedVulnerability first disclosed.
- 03-02-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA6.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
23%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.29% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Moodle1 product
- 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
Ubuntu1 product
- moodleAll versions (No fix recorded)
2 vendors · 2 products
References
5 links- bugzilla.redhat.com/show_bug.cgi?id=2423841Issue TrackingX Refsource REDHATREPORTThird Party Advisory