All reports
Medium

Moodle Cross-site Scripting vulnerability

Affected versions

Affected versions
>= 4.1.0-beta, < 4.1.1
Fixed version
4.1.1
Affected versions
>= 3.10.0, < 3.11.12
Fixed version
3.11.12
Affected versions
< 3.9.19
Fixed version
3.9.19
Affected versions
>= 4.0.0-beta, < 4.0.6
Fixed version
4.0.6

Exploitation

CVE-2023-23921

Probability of exploitation in the next 30 days: 0.82%

FIRST EPSS · 2026-11-22

Description

The vulnerability was found Moodle which exists due to insufficient sanitization of user-supplied data in some returnurl parameters. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website. This flaw allows a remote attacker to perform cross-site scripting (XSS) attacks.

Links