All reports
High

Moodle Stored Cross-site Scripting and page denial of service

Affected versions

Affected versions
>= 4.0, < 4.0.4
Fixed version
4.0.4
Affected versions
>= 3.9, < 3.9.17
Fixed version
3.9.17
Affected versions
>= 3.11, < 3.11.10
Fixed version
3.11.10

Exploitation

CVE-2022-40313

Probability of exploitation in the next 30 days: 0.72%

FIRST EPSS · 2026-11-23

Description

Recursive rendering of Mustache template helpers containing user input could, in some cases, result in an Cross-site Scripting risk or a page failing to load.

Links