CVE-2025-67851
published medium CVSS 3.1 · 6.1Moodle: moodle: formula injection allows arbitrary formula execution via unescaped data export
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | moodle4.1.0 to < 4.1.22 · 4.4.0 to < 4.4.12 · 4.5.0 to < 4.5.8 · 5.0.0 to < 5.0.4 · 5.1.0 to < 5.1.1 · Other versions: unaffected | Affected | Not stated | fedora |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- fedora · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| moodle | 4.1.0 to < 4.1.22 (affected · semver)4.4.0 to < 4.4.12 (affected · semver)4.5.0 to < 4.5.8 (affected · semver)5.0.0 to < 5.0.4 (affected · semver)5.1.0 to < 5.1.1 (affected · semver)Default: unaffected | fedora · cna |
Weaknesses
1- CWE-1236 Improper Neutralization of Formula Elements in a CSV File
References
3- https://access.redhat.com/security/cve/CVE-2025-67851
- RHBZ#2423841 https://bugzilla.redhat.com/show_bug.cgi?id=2423841
- https://moodle.org/mod/forum/discuss.php?d=471301
Provider assertions
2fedora · cna
Moodle: moodle: formula injection allows arbitrary formula execution via unescaped data export
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 104ddf4b876d736acd809a706ae0741ad1ed5af272e26affec671a0176440362
- Ingested
- 23 Sep 2026, 08:56:48 UTC
- Source record
- Official CVE record