CVE-2025-67849CWE-79

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

High · published February 3, 2026

CVSS v3.1
7.3
EPSS
0%
Percentile
17.9
In the wild
Unconfirmed
What it is

⚡ A sneaky XSS vulnerability in Moodle could allow attackers to inject malicious scripts into web pages! 🌐 Think of it like a restaurant where someone slips a note to the server, telling them to serve extra spicy food to unsuspecting diners. If the staff doesn’t check the note carefully, it could lead to some very unhappy customers! An attacker could exploit this flaw to steal user sessions or manipulate the interface, potentially leading to unauthorized access and data leaks. This could be absolutely devastating for users, especially in educational settings where privacy is key. 🤯

Put simply

Think of it like a restaurant where someone slips a note to the server, telling them to serve extra spicy food to unsuspecting diners. If the staff doesn’t check the note carefully, it could lead to some very unhappy customers! This cross-site scripting vulnerability arises from improper sanitization of AI prompt responses, allowing malicious HTML or script to be executed in users' browsers when they visit compromised pages.

What to do

An attacker could exploit this flaw to steal user sessions or manipulate the interface, potentially leading to unauthorized access and data leaks. This could be absolutely devastating for users, especially in educational settings where privacy is key. 🤯 To protect your Moodle installation, ensure you update to the latest version to patch this vulnerability. Additionally, review your input sanitization processes to prevent similar XSS flaws in the future. 🛡️ You've got this! By taking these steps, you can help secure your Moodle environment and keep your users safe. 💪

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00268 · 17.9th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-02-03T10:52Z
EPSS history
Timeline
  • 03 FEB 10:52Z
    Moodle: moodle: cross-site scripting (xss) via improper sanitization of ai prompt responses
    cvelistv5