CVE-2025-67851: moodle · CSV Injection
Affects moodleSource CVE Database V5
Not known to be exploited · CVSS 6.1 Medium · fixed in 5.1.1 : update moodle when convenient.
Data as of 23 Nov 2026, 21:14 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.1.1, 5.0.4, 4.5.8 +2
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:LExploitation evidence
Disclosed: evidence found.
CVE published 4 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Packagistmoodle/moodlepkg:composer/moodle/moodleOther threats | Affected
| Fixed in– |
GitHubmoodlepkg:github/moodleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2025-67851, organizations should first apply any official patches or updates released by Moodle addressing this vulnerability. In the absence of patches, administrators should implement strict input validation and sanitization on all user-supplied data fields that may be exported. Specifically, ensure that any data exported to CSV files is properly escaped or prefixed (e.g., with a single quote) to neutralize formula injection attempts. Educate users and administrators to be cautious when opening CSV files from untrusted sources and consider disabling automatic formula execution in spreadsheet applications where possible. Additionally, restrict export permissions to trusted users only and monitor exported data for suspicious content. Employ security awareness training to highlight risks associated with opening untrusted spreadsheet files. Finally, consider using alternative export formats that do not support formula execution or employ tools that sanitize CSV content before export.
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.