{
  "id": "CVE-2025-67851",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-67851",
  "published_at": "2026-02-03T10:52:06.974Z",
  "title": "Moodle: moodle: formula injection allows arbitrary formula execution via unescaped data export",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-1236",
  "cpes": [
    "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:moodle:moodle:5.1.0:-:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.1,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "",
        "ranges": [
          "\u003e= 4.1.0, \u003c 4.1.22",
          "\u003e= 4.4.0, \u003c 4.4.12",
          "\u003e= 4.5.0, \u003c 4.5.8",
          "\u003e= 5.0.0, \u003c 5.0.4",
          "\u003e= 5.1.0, \u003c 5.1.1"
        ],
        "fixed_in": [
          "4.1.22",
          "4.4.12",
          "4.5.8",
          "5.0.4",
          "5.1.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade the affected product to 4.1.22 or 4.4.12 or 4.5.8 or 5.0.4 or 5.1.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
