Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
5.4

CVE-2024-33998: Moodle participants page can run unwanted scripts

CVE-2024-33998 · published 2 years ago
Summary

If a user’s name contains special code, it can be stored and later executed when other users view the participants list. This could let an attacker run unwanted actions in a viewer’s browser, potentially stealing information or taking over their session. Apply the latest Moodle updates that correct the name‑handling issue.

What to do
  • Update moodle moodle to version 4.3.4.
  • Update moodle moodle to version 4.2.7.
  • Update moodle moodle to version 4.1.10.
Affected software
Ecosystem VendorProductAffected versions
composer moodle moodle >= 4.3.0, < 4.3.4
>= 4.2.0, < 4.2.7
< 4.1.10
Fix: upgrade to 4.3.4
Ubuntu:16.04:LTS canonical moodle All versions
Original advisory text
moodle: stored XSS via user's name on participants page when opening some options
Insufficient escaping of participants' names in the participants page table resulted in a stored XSS risk when interacting with some features.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
5.4 Medium
Exploitation
<1% chance of attack within 30 days
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published31 May 2024
Updated4 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta