CVE-2024-29374: n/a
A Cross-Site Scripting (XSS) vulnerability exists in the way MOODLE 3.10.9 handles user input within the "GET /?lang=" URL parameter.
AI Analysis
Technical Summary
CVE-2024-29374 is a reflected Cross-Site Scripting (XSS) vulnerability identified in Moodle version 3.10.9. The vulnerability exists due to insufficient sanitization of user-supplied input within the 'lang' parameter in the URL query string (GET /?lang=). When a user accesses a specially crafted URL containing malicious JavaScript code embedded in this parameter, the script is executed in the context of the victim's browser session. This can lead to theft of authentication cookies, session hijacking, or unauthorized actions performed with the victim's privileges. The vulnerability does not require any authentication (PR:N) but does require user interaction (UI:R), such as clicking a malicious link. The attack vector is network-based (AV:N), and the vulnerability affects confidentiality and integrity with no impact on availability. The scope is changed (S:C), indicating that the vulnerability affects resources beyond the initially vulnerable component. The CVSS 3.1 base score is 6.1, categorizing it as medium severity. No public exploits or patches have been reported at the time of publication. The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation).
Potential Impact
The primary impact of this vulnerability is on the confidentiality and integrity of user data within Moodle 3.10.9 environments. Successful exploitation can lead to session hijacking, allowing attackers to impersonate legitimate users, potentially including administrators or instructors. This can result in unauthorized access to sensitive educational data, manipulation of course content, or disruption of user accounts. While availability is not directly affected, the breach of confidentiality and integrity can undermine trust in the platform and lead to broader organizational risks such as data leaks or compliance violations. Since Moodle is widely used in educational institutions globally, the impact can be significant, especially in environments where sensitive student or staff information is stored. The requirement for user interaction limits the ease of exploitation but does not eliminate risk, particularly in phishing scenarios.
Mitigation Recommendations
1. Implement strict input validation and output encoding for the 'lang' URL parameter to neutralize any embedded scripts. 2. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts within Moodle web pages. 3. Educate users and administrators about the risks of clicking on untrusted links, especially those containing suspicious URL parameters. 4. Monitor web server logs for unusual requests targeting the 'lang' parameter to detect potential exploitation attempts. 5. Apply any official patches or updates from Moodle as soon as they become available. 6. Consider deploying Web Application Firewalls (WAF) with rules designed to detect and block reflected XSS payloads targeting Moodle. 7. Review and harden user session management to limit the impact of stolen session tokens, including enforcing short session timeouts and multi-factor authentication where possible.
Affected Countries
United States, United Kingdom, Canada, Australia, Germany, France, India, Brazil, South Africa, New Zealand
CVE-2024-29374: n/a
Description
A Cross-Site Scripting (XSS) vulnerability exists in the way MOODLE 3.10.9 handles user input within the "GET /?lang=" URL parameter.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-29374 is a reflected Cross-Site Scripting (XSS) vulnerability identified in Moodle version 3.10.9. The vulnerability exists due to insufficient sanitization of user-supplied input within the 'lang' parameter in the URL query string (GET /?lang=). When a user accesses a specially crafted URL containing malicious JavaScript code embedded in this parameter, the script is executed in the context of the victim's browser session. This can lead to theft of authentication cookies, session hijacking, or unauthorized actions performed with the victim's privileges. The vulnerability does not require any authentication (PR:N) but does require user interaction (UI:R), such as clicking a malicious link. The attack vector is network-based (AV:N), and the vulnerability affects confidentiality and integrity with no impact on availability. The scope is changed (S:C), indicating that the vulnerability affects resources beyond the initially vulnerable component. The CVSS 3.1 base score is 6.1, categorizing it as medium severity. No public exploits or patches have been reported at the time of publication. The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation).
Potential Impact
The primary impact of this vulnerability is on the confidentiality and integrity of user data within Moodle 3.10.9 environments. Successful exploitation can lead to session hijacking, allowing attackers to impersonate legitimate users, potentially including administrators or instructors. This can result in unauthorized access to sensitive educational data, manipulation of course content, or disruption of user accounts. While availability is not directly affected, the breach of confidentiality and integrity can undermine trust in the platform and lead to broader organizational risks such as data leaks or compliance violations. Since Moodle is widely used in educational institutions globally, the impact can be significant, especially in environments where sensitive student or staff information is stored. The requirement for user interaction limits the ease of exploitation but does not eliminate risk, particularly in phishing scenarios.
Mitigation Recommendations
1. Implement strict input validation and output encoding for the 'lang' URL parameter to neutralize any embedded scripts. 2. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts within Moodle web pages. 3. Educate users and administrators about the risks of clicking on untrusted links, especially those containing suspicious URL parameters. 4. Monitor web server logs for unusual requests targeting the 'lang' parameter to detect potential exploitation attempts. 5. Apply any official patches or updates from Moodle as soon as they become available. 6. Consider deploying Web Application Firewalls (WAF) with rules designed to detect and block reflected XSS payloads targeting Moodle. 7. Review and harden user session management to limit the impact of stolen session tokens, including enforcing short session timeouts and multi-factor authentication where possible.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- mitre
- Date Reserved
- 2024-03-19T00:00:00.000Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6d9db7ef31ef0b58959f
Added to database: 2/25/2026, 9:46:05 PM
Last enriched: 2/28/2026, 10:33:27 AM
Last updated: 4/12/2026, 3:43:32 PM
Views: 12
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.
External Links
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.