Vulnerability

CVE-2021-27131

mediumCVSS 3.1 5.4Published 16 May 2023

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 is leading an attacker to steal admin and all user account cookies by storing the malicious XSS payload in Header and Footer. NOTE: this is disputed by the vendor because the "Additional HTML Section" for "Header and Footer" can only be supplied by an administrator, who is intentionally allowed to enter unsanitized input (e.g., site-specific JavaScript).

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Moodle moodle

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning