All reports
Medium

Moodle vulnerable to stored Cross-site Scripting

Affected versions

Affected versions
<= 3.10.1
Fixed version
Not reported

Exploitation

CVE-2021-27131

Probability of exploitation in the next 30 days: 0.69%

FIRST EPSS · 2026-11-22

Description

Moodle 3.10.1 is vulnerable to persistent/stored cross-site scripting (XSS) due to the improper input sanitization on the "Additional HTML Section" via "Header and Footer" parameter in /admin/settings.php. This vulnerability may lead an attacker to steal admin and all user account cookies by storing the malicious XSS payload in Header and Footer.

Links