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.
Remediation
References
Related Vulnerabilities
WordPress Plugin Ultimate FAQ Cross-Site Scripting (1.8.21)
PHP Improper Restriction of XML External Entity Reference Vulnerability (CVE-2023-3823)
WordPress Plugin WPS Limit Login Multiple Vulnerabilities (1.4.5)
WordPress Plugin RSVPmaker Excel Cross-Site Scripting (1.1)
WordPress Plugin Social Networking & E-commerce Arbitrary File Upload (0.0.32)