ADVISORIES

GitHub Advisory Database

GHSA-qfh6-h7j6-fvjv

Moodle formula injection vulnerability

Details

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.

Affected packages

EcosystemPackageAffected versions
Packagistmoodle/moodle
All versions before 4.1.22 (fixed in 4.1.22)
Packagistmoodle/moodle
From 4.4.0-beta before 4.4.12 (fixed in 4.4.12)
Packagistmoodle/moodle
From 4.5.0-beta before 4.5.8 (fixed in 4.5.8)
Packagistmoodle/moodle
From 5.0.0-beta before 5.0.4 (fixed in 5.0.4)
Packagistmoodle/moodle
From 5.1.0-beta before 5.1.1 (fixed in 5.1.1)

References