Skip to content
OpenAdvisories
High · 7.3 CVE-2025-67850 BIT-moodle-2025-67850EUVD-2025-206736GHSA-6mmv-f6c6-v6q8

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

Published Feb 3, 2026 · Updated Feb 26, 2026 · Assigned by fedora

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 products

VendorProductAffectedFixed
— moodle 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 4.1.22

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle < 4.1.22 4.1.22 GHSA-6mmv-f6c6-v6q8
Packagist moodle/moodle >= 4.4.0-beta, < 4.4.12 4.4.12 GHSA-6mmv-f6c6-v6q8
Packagist moodle/moodle >= 4.5.0-beta, < 4.5.8 4.5.8 GHSA-6mmv-f6c6-v6q8
Packagist moodle/moodle >= 5.0.0-beta, < 5.0.4 5.0.4 GHSA-6mmv-f6c6-v6q8
Packagist moodle/moodle >= 5.1.0-beta, < 5.1.1 5.1.1 GHSA-6mmv-f6c6-v6q8

Advisories 1

References