Skip to main content
← All vulnerabilities
CVE-2025-67849GHSA-MHF6-PP52-8WQJBIT-MOODLE-2025-67849

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.5.8, 5.0.4, 5.1.1, 4.1.22, 4.4.12
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • moodle

    From 4.5.0 · fixed in 4.5.8; From 5.0.0 · fixed in 5.0.4; From 5.1.0 · fixed in 5.1.1

  • moodle/moodlePackagist

    fixed in 4.1.22

  • moodle/moodlePackagist

    From 4.4.0-beta · fixed in 4.4.12

  • moodle/moodlePackagist

    From 4.5.0-beta · fixed in 4.5.8

  • moodle/moodlePackagist

    From 5.0.0-beta · fixed in 5.0.4

  • moodle/moodlePackagist

    From 5.1.0-beta · fixed in 5.1.1

References 2

access.redhat.com

bugzilla.redhat.com