Stored cross-site scripting in Moodle - CVE-2024-38274

 

Stored cross-site scripting in Moodle - CVE-2024-38274

Published: June 19, 2024 / Updated: June 19, 2024


Vulnerability identifier: #VU92229
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2024-38274
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data within calendar's event title when deleting the event. A remote attacker can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


Affected software

Moodle
Fedora
moodle

How to mitigate CVE-2024-38274

Install update from vendor's website.

Moodle - addressed in versions 4.1.11, 4.2.8, 4.3.5, 4.4.1
moodle - addressed in versions 4.3.5-1.fc39, 4.3.5-1.fc40

External References

Related Security Bulletins