Security mailing lists by PureSourceCode

CVE-2025-67850

MEDIUM 6.1CVSS 3.1

Moodle vulnerable to Cross-site Scripting

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.

Published
3 Feb 2026
Last modified
17 Jun 2026
Assigned by
patrick@puiterwijk.org
NVD status
Analyzed
Weakness
CWE-79
Also known as
BIT-moodle-2025-67850GHSA-6mmv-f6c6-v6q8
Sources
NVDJSONOSV GHSA-6mmv-f6c6-v6q8JSON

Scores

SourceScored byVersionScoreVector / decision
NVD patrick@puiterwijk.org (Secondary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
< 4.1.22 4.1.22
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 4.4.0, < 4.4.11 4.4.11
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 4.5.0, < 4.5.8 4.5.8
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 5.0.0, < 5.0.4 5.0.4
NVD moodle moodle
cpe:2.3:a:moodle:moodle:5.1.0:-:*:*:*:*:*:*
= 5.1.0
OSV Packagist moodle/moodle < 4.1.22 4.1.22
OSV Packagist moodle/moodle >= 4.4.0-beta, < 4.4.12 4.4.12
OSV Packagist moodle/moodle >= 4.5.0-beta, < 4.5.8 4.5.8
OSV Packagist moodle/moodle >= 5.0.0-beta, < 5.0.4 5.0.4
OSV Packagist moodle/moodle >= 5.1.0-beta, < 5.1.1 5.1.1

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 3 Feb 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 3 Feb 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.