CVE-2025-67849: Moodle: moodle: cross-site scripting (xss) via improper sanitization of ai prompt responses

Published Dec 19, 2025
·
Updated

A cross-site scripting (XSS) vulnerability existed due to improper sanitization of AI prompt responses. Attackers could inject HTML or script into pages viewed by other users, potentially leading to session theft or UI manipulation

Other sources

A flaw was found in Moodle. This cross-site scripting (XSS) vulnerability, caused by improper sanitization of AI prompt responses, allows attackers to inject malicious HTML or script into web pages. When other users view these compromised pages, their sessions could be stolen, or the user interface could be manipulated.

MITRE

Affected Software

9 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.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:03 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-67849?

CVE-2025-67849 is classified as a high severity vulnerability due to its potential for exploitation through cross-site scripting.

2

How do I fix CVE-2025-67849?

To remediate CVE-2025-67849, you should update Moodle to versions 5.1.1, 5.0.4, 4.5.8, 4.4.12, or 4.1.22.

3

What type of vulnerability is CVE-2025-67849?

CVE-2025-67849 is a cross-site scripting (XSS) vulnerability caused by improper sanitization of AI prompt responses.

4

Who is affected by CVE-2025-67849?

CVE-2025-67849 affects users of Moodle across multiple versions prior to the remediation updates.

5

What are the potential impacts of CVE-2025-67849?

The potential impacts of CVE-2025-67849 include session hijacking and unauthorized execution of scripts on behalf of other users.

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