Moodle formula injection vulnerability
Moderate severity
GitHub Reviewed
Published
Feb 3, 2026
to the GitHub Advisory Database
•
Updated Feb 3, 2026
Package
Affected versions
< 4.1.22
>= 4.4.0-beta, < 4.4.12
>= 4.5.0-beta, < 4.5.8
>= 5.0.0-beta, < 5.0.4
>= 5.1.0-beta, < 5.1.1
Patched versions
4.1.22
4.4.12
4.5.8
5.0.4
5.1.1
Description
Published by the National Vulnerability Database
Feb 3, 2026
Published to the GitHub Advisory Database
Feb 3, 2026
Reviewed
Feb 3, 2026
Last updated
Feb 3, 2026
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.
References