{"id":"CVE-2025-67851","published":"2026-02-03T10:52:06Z","modified":"2026-02-03T17:02:43Z","title":"Moodle: moodle: formula injection allows arbitrary formula execution via unescaped data export","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00372,"percentile":0.23168,"provenance":"source"},"cwes":[{"id":"CWE-1236","name":"Improper Neutralization of Formula Elements in a CSV File"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-67851","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2423841","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=471301","tags":[]}],"priority":{"score":8.9,"factors":[{"name":"EPSS percentile","points":4.63},{"name":"CVSS severity","points":4.27}]},"affectedVersions":[{"vendor":null,"product":null,"versions":[">= 4.1.0, < 4.1.22",">= 4.4.0, < 4.4.12",">= 4.5.0, < 4.5.8",">= 5.0.0, < 5.0.4",">= 5.1.0, < 5.1.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-03T17:02:36.235220Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":["<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":["4.1.22","4.4.12","4.5.8","5.0.4","5.1.1"],"from":["GHSA-qfh6-h7j6-fvjv"],"provenance":"source"}],"summary":{"text":"A formula injection flaw in Moodle lies in its data export functionality, where data fields are written out without proper escaping. An attacker who can supply malicious data that is later exported can cause arbitrary spreadsheet formulas to execute when a user opens the exported file, which may compromise data integrity and trigger unintended operations within the spreadsheet; the exploit requires local access, low privileges, and a user to open the exported file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:01Z"},"euvd":{"id":"EUVD-2025-206735","exploited":false,"provenance":"source"}}