CVE-2024-29374
PHP vulnerability analysis and mitigation

Overview

A Cross-Site Scripting (XSS) vulnerability has been identified in MOODLE version 3.10.9, tracked as CVE-2024-29374. The vulnerability exists in the way MOODLE handles user input within the 'GET /?lang=' URL parameter, which is used to specify the user's preferred language for the MOODLE interface (GitHub POC, NVD).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation) with a CVSS v3.1 Base Score of 6.1 (Medium). The attack vector is network-based (AV:N) with low attack complexity (AC:L), requiring no privileges (PR:N) but user interaction (UI:R), and has a changed scope (S:C) with low confidentiality and integrity impact (C:L, I:L) and no availability impact (A:N) (NVD).

Impact

The vulnerability could allow attackers to execute malicious scripts in the user's browser context, potentially leading to session cookie theft, unauthorized account access, modification of user data within MOODLE, web interface defacement, and the possibility of launching phishing attacks (GitHub POC).

Exploitability

A proof of concept exploit has been publicly disclosed demonstrating the vulnerability. The exploit involves crafting a malicious URL containing specially crafted script that executes when accessed by users (GitHub POC).

Mitigation and workarounds

The recommended mitigation strategy involves implementing server-side input validation to sanitize all user-provided input within the 'lang' parameter before processing it. This ensures that any malicious scripts are properly escaped and rendered harmless (GitHub POC).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-wg23-69c2-gjc8CRITICAL9.1
  • PHP logoPHP
  • craftcms/cms
NoYesAug 07, 2026
CVE-2026-71488HIGH7.5
  • PHP logoPHP
  • commonmark
NoYesAug 06, 2026
CVE-2026-62996MEDIUM6.9
  • PHP logoPHP
  • smarty/smarty
NoYesAug 07, 2026
CVE-2026-62992MEDIUM6.9
  • PHP logoPHP
  • smarty/smarty
NoYesAug 07, 2026
CVE-2026-71478MEDIUM6.1
  • PHP logoPHP
  • commonmark
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management