VDB
Sign up
MEDIUM6.1

GHSA-qfh6-h7j6-fvjv

Moodle formula injection vulnerability

Quick fix

GHSA-qfh6-h7j6-fvjv — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^4.1.22

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0Fixed in: 4.1.22
Fixcomposer require moodle/moodle:^4.1.22
Packagist/moodle/moodle
Introduced in: 4.4.0-betaFixed in: 4.4.12
Fixcomposer require moodle/moodle:^4.4.12
Packagist/moodle/moodle
Introduced in: 4.5.0-betaFixed in: 4.5.8
Fixcomposer require moodle/moodle:^4.5.8
Packagist/moodle/moodle
Introduced in: 5.0.0-betaFixed in: 5.0.4
Fixcomposer require moodle/moodle:^5.0.4
Packagist/moodle/moodle
Introduced in: 5.1.0-betaFixed in: 5.1.1
Fixcomposer require moodle/moodle:^5.1.1

References