CVE-2025-67851GHSA-QFH6-H7J6-FVJVBIT-MOODLE-2025-67851
Moodle: moodle: formula injection allows arbitrary formula execution via unescaped data export
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.1.22, 4.4.12, 4.5.8, 5.0.4, 5.1.1
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- moodle
From 4.1.0 · fixed in 4.1.22; From 4.4.0 · fixed in 4.4.12; From 4.5.0 · fixed in 4.5.8; From 5.0.0 · fixed in 5.0.4; From 5.1.0 · fixed in 5.1.1
- moodle/moodlePackagist
fixed in 4.1.22
- moodle/moodlePackagist
From 4.4.0-beta · fixed in 4.4.12
- moodle/moodlePackagist
From 4.5.0-beta · fixed in 4.5.8
- moodle/moodlePackagist
From 5.0.0-beta · fixed in 5.0.4
- moodle/moodlePackagist
From 5.1.0-beta · fixed in 5.1.1