All reports
Medium

Moodle Cross-site Scripting

Affected versions

Affected versions
>= 3.8, < 3.8.7
Fixed version
3.8.7
Affected versions
>= 3.5, < 3.5.16
Fixed version
3.5.16
Affected versions
>= 3.10, < 3.10.1
Fixed version
3.10.1
Affected versions
>= 3.9, < 3.9.4
Fixed version
3.9.4

Exploitation

CVE-2021-20186

Probability of exploitation in the next 30 days: 0.76%

FIRST EPSS · 2026-11-22

Description

It was found in Moodle before version 3.10.1, 3.9.4, 3.8.7 and 3.5.16 that if the TeX notation filter was enabled, additional sanitizing of TeX content was required to prevent the risk of stored XSS.

Links