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.
Problem types
Improper Neutralization of Formula Elements in a CSV File
Product status
4.1.0 (semver) before 4.1.22
4.4.0 (semver) before 4.4.12
4.5.0 (semver) before 4.5.8
5.0.0 (semver) before 5.0.4
5.1.0 (semver) before 5.1.1
Timeline
| 2025-12-19: | Reported to Red Hat. |
| 2025-12-15: | Made public. |
Credits
Red Hat would like to thank Brendan Heywood for reporting this issue.
References
access.redhat.com/security/cve/CVE-2025-67851
bugzilla.redhat.com/show_bug.cgi?id=2423841 (RHBZ#2423841)
moodle.org/mod/forum/discuss.php?d=471301