CVE-2025-67849 json
Moodle: moodle: cross-site scripting (xss) via improper sanitization of ai prompt responses
published 2026-02-03 9 mo ago modified 2026-09-10 59 d ago also BIT-moodle-2025-67849 , EUVD-2025-206737 , GHSA-mhf6-pp52-8wqj
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 18%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist moodle/moodle 4.1.22, 4.4.12, 4.5.8, 5.0.4, 5.1.1
- bitnami moodle 4.5.8, 5.0.4, 5.1.1
- moodle moodle 4.5.8, 5.0.4
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-67849 updated cvss 7.3
moodle: Moodle: Cross-site scripting (XSS) via improper sanitization of AI prompt responses
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 9 mo ago
Exploit prediction
0.26% chance of exploitation in the next 30 days, higher than 18% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | <4.1.22 >=4.4.0-beta, <4.4.12 >=4.5.0-beta, <4.5.8 >=5.0.0-beta, <5.0.4 >=5.1.0-beta, <5.1.1 |
4.1.22 4.4.12 4.5.8 5.0.4 5.1.1 |
| bitnami | moodle | >=4.5.0, <4.5.8 >=5.0.0, <5.0.4 >=5.1.0, <5.1.1 |
4.5.8 5.0.4 5.1.1 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/moodle/moodle/commit/a3063dcaa44dbe66e60a37cadb33bfadfe4feb03
web
-
access.redhat.com
/security/cve/CVE-2025-67849
vdb-entry, web, third-party-advisory, advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2423835
issue-tracking, web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-67849
advisory, web
-
github.com
/moodle/moodle
package
-
moodle.org
/mod/forum/discuss.php?d=471299
web
Sources
- CVE List CVE-2025-67849
- GitHub Advisory GHSA-mhf6-pp52-8wqj
- NVD CVE-2025-67849
- OSV BIT-moodle-2025-67849
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.