Description
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."
Remediation
References
Related Vulnerabilities
WordPress Plugin Profile Extra Fields by BestWebSoft Cross-Site Scripting (1.0.7)
Sqlite Improper Check for Unusual or Exceptional Conditions Vulnerability (CVE-2019-19646)
PostgreSQL Permissions, Privileges, and Access Controls Vulnerability (CVE-2016-3065)
Liferay Portal Incorrect Authorization Vulnerability (CVE-2024-25149)