Stored cross-site scripting in Moodle - CVE-2023-40320

 

Stored cross-site scripting in Moodle - CVE-2023-40320

Published: August 22, 2023


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

Vulnerability details

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

The vulnerability exists due to insufficient sanitization of user-supplied data passed via OAuth 2 login. A remote user 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

How to mitigate CVE-2023-40320

Install updates from vendor's website.

Moodle - addressed in versions 3.9.23, 3.11.16, 4.0.10, 4.1.5, 4.2.2

External References

Related Security Bulletins