VDB
Sign up
MEDIUM5.4

GHSA-w2pm-fr62-jgv4

Moodle vulnerable to stored Cross-site Scripting

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0

No fixed version published yet for moodle/moodle (composer). Pin to a known-safe version or switch to an alternative.

References