moodle: stored XSS in lesson overview report via user ID number (CVE-2024-34000)
A stored cross-site scripting (XSS) vulnerability exists in Moodle's lesson overview report due to insufficient sanitization of user ID numbers. This flaw allows malicious scripts to be stored and potentially executed when the lesson overview report is viewed. The vulnerability affects multiple Moodle versions prior to specific patched releases. A patch is available to address this issue. No known exploits are currently reported in the wild.
AI Analysis
Technical Summary
CVE-2024-34000 is a stored XSS vulnerability in Moodle affecting the lesson overview report. The issue arises because ID numbers displayed in this report were not properly sanitized, allowing attackers to inject malicious scripts that persist in the system. This vulnerability affects Moodle versions prior to 4.1.10, versions from 4.2.0 up to but not including 4.2.7, and versions from 4.3.0 up to but not including 4.3.4. The vulnerability has been assigned a medium severity rating. A patch is available to remediate the issue.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary scripts in the context of the affected Moodle instance when users view the lesson overview report. This could lead to session hijacking, defacement, or other script-based attacks. However, no active exploitation in the wild has been reported.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade affected Moodle installations to versions 4.1.10 or later, 4.2.7 or later, or 4.3.4 or later to remediate the issue. Applying these official fixes will prevent exploitation of the stored XSS vulnerability.
moodle: stored XSS in lesson overview report via user ID number (CVE-2024-34000)
Description
A stored cross-site scripting (XSS) vulnerability exists in Moodle's lesson overview report due to insufficient sanitization of user ID numbers. This flaw allows malicious scripts to be stored and potentially executed when the lesson overview report is viewed. The vulnerability affects multiple Moodle versions prior to specific patched releases. A patch is available to address this issue. No known exploits are currently reported in the wild.
Affected software
pkg:bitnami/moodleRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-34000 is a stored XSS vulnerability in Moodle affecting the lesson overview report. The issue arises because ID numbers displayed in this report were not properly sanitized, allowing attackers to inject malicious scripts that persist in the system. This vulnerability affects Moodle versions prior to 4.1.10, versions from 4.2.0 up to but not including 4.2.7, and versions from 4.3.0 up to but not including 4.3.4. The vulnerability has been assigned a medium severity rating. A patch is available to remediate the issue.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary scripts in the context of the affected Moodle instance when users view the lesson overview report. This could lead to session hijacking, defacement, or other script-based attacks. However, no active exploitation in the wild has been reported.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade affected Moodle installations to versions 4.1.10 or later, 4.2.7 or later, or 4.3.4 or later to remediate the issue. Applying these official fixes will prevent exploitation of the stored XSS vulnerability.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BIT-moodle-2024-34000
- Osv Schema Version
- 1.6.2
- Aliases
- ["CVE-2024-34000"]
- Ecosystems
- ["Bitnami"]
- Database Specific Severity
- Medium
Threat ID: 6aa00618acd9273b49ab77b1
Added to database: 09/08/2026, 12:56:56 UTC
Last enriched: 09/08/2026, 13:44:52 UTC
Last updated: 09/10/2026, 19:48:59 UTC
Views: 22
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.