CWE
79
Advisory Published
Advisory Published
Updated

CVE-2021-27131: XSS

First published: Tue May 16 2023(Updated: )

** DISPUTED ** 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).

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Moodle Moodle=3.10.1
composer/moodle/moodle<=3.10.1
=3.10.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID for this Moodle vulnerability?

    The vulnerability ID for this Moodle vulnerability is CVE-2021-27131.

  • What is the severity level of CVE-2021-27131?

    The severity level of CVE-2021-27131 is medium with a CVSS score of 5.4.

  • How does the vulnerability affect Moodle 3.10.1?

    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.

  • How can an attacker exploit CVE-2021-27131?

    An attacker can exploit CVE-2021-27131 to steal admin and all user account credentials.

  • Are there any references available for this Moodle vulnerability?

    Yes, you can find references for this Moodle vulnerability at the following links: [1] [2] [3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203