Moodle Persistent Cross-site Scripting (XSS)
Moderate severity
GitHub Reviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated May 3, 2024
Description
Published by the National Vulnerability Database
Feb 11, 2020
Published to the GitHub Advisory Database
May 24, 2022
Reviewed
Apr 23, 2024
Last updated
May 3, 2024
Persistent XSS in
/course/modedit.php
of Moodle through 3.7.2 allows authenticated users (Teacher and above) to inject JavaScript into the session of another user (e.g., enrolled student or site administrator) via the introeditor[text] parameter. NOTE: the discoverer and vendor disagree on whether Moodle customers have a reasonable expectation that anyone authenticated as a Teacher can be trusted with the ability to add arbitrary JavaScript (this ability is not documented on Moodle's Teacher_role page). Because the vendor has this expectation, they have stated "this report has been closed as a false positive, and not a bug."References