CVE-2025-67849

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

Published Feb 3, 2026 CVSS 3.1 · 7.3 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-mhf6-pp52-8wqj Moodle Cross-site Scripting (XSS) vulnerability
History
Type Values Removed Values Added
CPEs cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
cpe:2.3:a:moodle:moodle:5.1.0:-:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Moodle
Moodle moodle
Vendors & Products Moodle
Moodle moodle
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Moodle: moodle: cross-site scripting (xss) via improper sanitization of ai prompt responses
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
fedora
Published
Updated
Feb 26, 2026, 3:04 PM
Reserved
Dec 12, 2025, 1:00 PM
Status
Analyzed
Published
Feb 3, 2026, 11:15 AM
Modified
Jun 17, 2026, 9:58 AM