CVE-2025-67851

published 3 Feb 2026 · updated 3 Feb 2026

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

6.1MediumCVSS 6.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 4.1.22, 4.4.12, 4.5.8 and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
>=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.14.1.22, 4.4.12, 4.5.8, 5.0.4, 5.1.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-67851 severity on Zeptric[![CVE-2025-67851](https://zeptric.io/badge/cve/CVE-2025-67851.svg)](https://zeptric.io/cve/CVE-2025-67851)