Skip to main content
VulnerabilityPublished

CVE-2025-67851: moodle · CSV Injection

Affects moodleSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.1 Medium · fixed in 5.1.1 : update moodle when convenient.

Data as of 23 Nov 2026, 21:14 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.1.1, 5.0.4, 4.5.8 +2
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Packagistmoodle/moodlepkg:composer/moodle/moodleOther threatsAffected
  • 4.1.0 – 5.1.0
5 affected builds
Fixed in–
GitHubmoodlepkg:github/moodleOther threatsAffected
  • >=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
Fixed in
  • 4.1.22
  • 4.4.12
  • 4.5.8
  • 5.0.4
  • 5.1.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2025-67851, organizations should first apply any official patches or updates released by Moodle addressing this vulnerability. In the absence of patches, administrators should implement strict input validation and sanitization on all user-supplied data fields that may be exported. Specifically, ensure that any data exported to CSV files is properly escaped or prefixed (e.g., with a single quote) to neutralize formula injection attempts. Educate users and administrators to be cautious when opening CSV files from untrusted sources and consider disabling automatic formula execution in spreadsheet applications where possible. Additionally, restrict export permissions to trusted users only and monitor exported data for suspicious content. Employ security awareness training to highlight risks associated with opening untrusted spreadsheet files. Finally, consider using alternative export formats that do not support formula execution or employ tools that sanitize CSV content before export.

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.

References

Community reviews

Loading reviews…