CVE-2025-67849

published 3 Feb 2026 · updated 26 Feb 2026

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

7.3HighCVSS 7.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 4.5.8, 5.0.4 and 5.1.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
>=4.5.0 <4.5.8, >=5.0.0 <5.0.4, >=5.1.0 <5.1.14.5.8, 5.0.4, 5.1.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-67849 severity on Zeptric[![CVE-2025-67849](https://zeptric.io/badge/cve/CVE-2025-67849.svg)](https://zeptric.io/cve/CVE-2025-67849)