Skip to content
Fencer Vulns
medium 6.1

CVE-2025-67851 json

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

published 2026-02-03 9 mo ago modified 2026-09-08 2 mo ago also BIT-moodle-2025-67851 , EUVD-2025-206735 , GHSA-qfh6-h7j6-fvjv

cvss
6.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 21%
public exploits
0
none known

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.

Patch / fix

  • packagist moodle/moodle 4.1.22, 4.4.12, 4.5.8, 5.0.4, 5.1.1
  • bitnami moodle 4.1.22, 4.4.11, 4.5.8, 5.0.4, 5.1.1
  • moodle moodle 4.1.22, 4.4.11, 4.5.8, 5.0.4

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-67851 updated cvss 6.1

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

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
9 mo ago

Exploit prediction

0.29% chance of exploitation in the next 30 days, higher than 21% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 6.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L
GitHub 3.1 6.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
packagist moodle/moodle
<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
4.1.22
4.4.12
4.5.8
5.0.4
5.1.1
bitnami moodle
<4.1.22
>=4.4.0, <4.4.11
>=4.5.0, <4.5.8
>=5.0.0, <5.0.4
>=5.1.0, <5.1.1
4.1.22
4.4.11
4.5.8
5.0.4
5.1.1

Classification

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

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.