Skip to main content
← All vulnerabilities
CVE-2025-67851GHSA-QFH6-H7J6-FVJVBIT-MOODLE-2025-67851

Moodle: moodle: formula injection allows arbitrary formula execution via unescaped data export

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.1.22, 4.4.12, 4.5.8, 5.0.4, 5.1.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • moodle

    From 4.1.0 · fixed in 4.1.22; From 4.4.0 · fixed in 4.4.12; From 4.5.0 · fixed in 4.5.8; From 5.0.0 · fixed in 5.0.4; From 5.1.0 · fixed in 5.1.1

  • moodle/moodlePackagist

    fixed in 4.1.22

  • moodle/moodlePackagist

    From 4.4.0-beta · fixed in 4.4.12

  • moodle/moodlePackagist

    From 4.5.0-beta · fixed in 4.5.8

  • moodle/moodlePackagist

    From 5.0.0-beta · fixed in 5.0.4

  • moodle/moodlePackagist

    From 5.1.0-beta · fixed in 5.1.1

References 3

access.redhat.com

bugzilla.redhat.com

moodle.org