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

Published Dec 19, 2025
·
Updated

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.

Other sources

An XSS issue in the formula editor stemmed from inadequate filtering of user input in arithmetic expression fields. This could allow malicious script to run in the browsers of users viewing those expressions.

Red Hat

Affected Software

11 affected componentsFixes available
moodle/moodle
composer/moodle/moodle>=5.1.0-beta<5.1.1
5.1.1
composer/moodle/moodle>=5.0.0-beta<5.0.4
5.0.4
composer/moodle/moodle>=4.5.0-beta<4.5.8
4.5.8
composer/moodle/moodle>=4.4.0-beta<4.4.12
4.4.12
composer/moodle/moodle<4.1.22
4.1.22
Moodle Moodle<4.1.22
Moodle Moodle>=4.4.0<4.4.11
Moodle Moodle>=4.5.0<4.5.8
Moodle Moodle>=5.0.0<5.0.4
Moodle Moodle=5.1.0

Event History

Dec 19, 2025
Data Sourced
via Red Hat·12:07 PM
DescriptionSeverityAffected Software
Feb 3, 2026
CVE Published
via MITRE·10:52 AM
Data Sourced
via MITRE·10:52 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 AM
Affected Software
Advisory Published
via GitHub·12:30 PM
Data Sourced
via GitHub·12:30 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-67850?

CVE-2025-67850 is classified as a medium severity vulnerability due to its potential to allow cross-site scripting attacks.

2

How do I fix CVE-2025-67850?

To mitigate CVE-2025-67850, upgrade to Moodle version 5.1.1, 5.0.4, 4.5.8, 4.4.12, or 4.1.22.

3

What causes CVE-2025-67850?

CVE-2025-67850 is caused by inadequate input filtering in the formula editor's arithmetic expression fields.

4

Who is affected by CVE-2025-67850?

Users of affected Moodle versions are vulnerable to CVE-2025-67850, which exploits insufficient checks on user-provided data.

5

Is there a workaround for CVE-2025-67850?

No known workaround exists for CVE-2025-67850, and updating to a fixed version is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203