All vulnerabilities

Servers and applications

CVE-2025-67850

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…

Severity
Medium 6.1
Published
3 Feb 2026
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
4.1.22, 4.4.11, 4.5.8, 5.0.4
Exploit chance
0.3% in the next 30 daysHigher than 23% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
MoodleServers and applications · cpe:a:moodle:moodle
  • Every version 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
  • Version 5.1.0

About Moodle

e-learning platform

From Wikidata, CC0 1.0.
Monthly downloads (Packagist)
2,728Packagist, 15 Nov 2026
Total downloads (Packagist)
98,594Packagist, 15 Nov 2026
GitHub stars
7,615GitHub, 15 Nov 2026
Forks
7,716GitHub, 15 Nov 2026
Developer
Martin DougiamasWikidata
License
GNU General Public License, version 3.0, GNU General Public LicenseWikidata
Written in
PHPWikidata
First released
20 Aug 2002Wikidata
First published on GitHub
16 Dec 2009GitHub

Release lines

ReleaseLatestSecurity fixes
5.3 (LTS)LTS5.3.1Until 1 Oct 2029
5.25.2.5Until 4 Oct 2027
5.15.1.9Until 19 Apr 2027
5.05.0.12Ended 5 Oct 2026
4.5 (LTS)LTS4.5.16Until 4 Oct 2027
4.44.4.12Ended 8 Dec 2025

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2025-67850
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2025-67850