CVE-2025-67850
JSON

7.3high

Moodle: moodle: cross-site scripting vulnerability via inadequate input filtering in formula editor

Severity
7.3high CVSS:3.1 by fedora
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
fedora
Also known as
GHSA-6mmv-f6c6-v6q8BIT-MOODLE-2025-67850

Description

A flaw was found in moodle. This vulnerability, known as Cross-Site Scripting (XSS), occurs due to insufficient checks on user-provided data in the formula editor's arithmetic expression fields. A remote attacker could inject malicious code into these fields. When other users view these expressions, the malicious code would execute in their web browsers, potentially compromising their data or leading to unauthorized actions.

Affected

Product or packageVersionsReported by
moodlefrom 4.1.0 before 4.1.22, from 4.4.0 before 4.4.12, from 4.5.0 before 4.5.8, from 5.0.0 before 5.0.4, from 5.1.0 before 5.1.1CVE List
moodle/moodle (Packagist)before 4.1.22, from 4.4.0-beta before 4.4.12, from 4.5.0-beta before 4.5.8, from 5.0.0-beta before 5.0.4, from 5.1.0-beta before 5.1.1GitHub Advisory Database
moodle moodlebefore 4.1.22, from 4.4.0 before 4.4.11, from 4.5.0 before 4.5.8, from 5.0.0 before 5.0.4, 5.1.0NVD
moodle (Bitnami)before 4.1.22, from 4.4.0 before 4.4.11, from 4.5.0 before 4.5.8, from 5.0.0 before 5.0.4, from 5.1.0 before 5.1.1Bitnami Vulnerability Database

All scores

fedora7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
GitHub7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

A flaw was found in moodle. This vulnerability, known as Cross-Site Scripting (XSS), occurs due to insufficient checks on user-provided data in the formula editor's arithmetic expression fields. A remote attacker could inject malicious code into these fields. When other users view these expressions, the malicious code would execute in their web browsers, potentially compromising their data or leading to unauthorized actions.

NVD (es)

Se encontró una falla en moodle. Esta vulnerabilidad, conocida como cross-site scripting (XSS), ocurre debido a comprobaciones insuficientes en los datos proporcionados por el usuario en los campos de expresión aritmética del editor de fórmulas. Un atacante remoto podría inyectar código malicioso en estos campos. Cuando otros usuarios ven estas expresiones, el código malicioso se ejecutaría en sus navegadores web, comprometiendo potencialmente sus datos o llevando a acciones no autorizadas.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-67850 changed 2026-02-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-6mmv-f6c6-v6q8 changed 2026-02-12CC-BY-4.0
NVDCVE-2025-67850 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-MOODLE-2025-67850 changed 2026-09-10Apache-2.0