CVE-2025-67851

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

State
Published
Severity
6.1 Medium
Published
Feb 3, 2026
Updated
Feb 3, 2026
Reserved
Dec 12, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.1 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:Lfedora

Weaknesses

  • CWE-1236 Improper Neutralization of Formula Elements in a CSV File

Affected Products

ProductVersions
moodle
  • 4.1.0 to before 4.1.22Affected
  • 4.4.0 to before 4.4.12Affected
  • 4.5.0 to before 4.5.8Affected
  • 5.0.0 to before 5.0.4Affected
  • 5.1.0 to before 5.1.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.