{"id":"CVE-2019-18210","details":"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.\"","aliases":["GHSA-q6vw-27c6-jv9c"],"modified":"2026-04-10T04:16:35.889785Z","published":"2020-02-11T14:15:17.877Z","references":[{"type":"ADVISORY","url":"https://docs.moodle.org/38/en/Teacher_role"},{"type":"ADVISORY","url":"https://gist.github.com/Danbardo/4a6b0fe8cb21ec6d7c54e6ac951bdb0a"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/moodle/moodle","events":[{"introduced":"0"},{"last_affected":"6a30269d98d8e939930f5fea71fc82da6824806e"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"3.7.2"}]}}],"versions":["v1.0.0","v1.0.1","v1.0.2","v1.0.3","v1.0.4","v1.0.5","v1.0.6","v1.0.7","v1.0.8","v1.0.9","v1.1.0","v1.1.1","v1.2.0","v1.2.1","v1.3.0","v2.0.0","v2.0.0-rc1","v2.0.0-rc2","v2.0.1","v2.1.0","v2.2.0","v2.2.0-beta","v2.2.0-rc1","v2.3.0","v2.3.0-beta","v2.3.0-rc1","v2.4.0","v2.4.0-beta","v2.4.0-rc1","v2.5.0","v2.5.0-beta","v2.5.0-rc1","v2.6.0","v2.6.0-beta","v2.6.0-rc1","v2.7.0","v2.7.0-beta","v2.7.0-rc1","v2.7.0-rc2","v2.8.0","v2.8.0-beta","v2.8.0-rc1","v2.8.0-rc2","v2.9.0","v2.9.0-beta","v2.9.0-rc1","v2.9.0-rc2","v3.0.0","v3.0.0-beta","v3.0.0-rc1","v3.0.0-rc2","v3.0.0-rc3","v3.0.0-rc4","v3.1.0","v3.1.0-beta","v3.1.0-rc1","v3.1.0-rc2","v3.2.0","v3.2.0-beta","v3.2.0-rc1","v3.2.0-rc2","v3.2.0-rc3","v3.2.0-rc4","v3.2.0-rc5","v3.3.0","v3.3.0-beta","v3.3.0-rc1","v3.3.0-rc2","v3.3.0-rc3","v3.4.0","v3.4.0-beta","v3.4.0-rc1","v3.4.0-rc2","v3.4.0-rc3","v3.5.0","v3.5.0-beta","v3.5.0-rc1","v3.6.0","v3.6.0-beta","v3.6.0-rc1","v3.6.0-rc2","v3.6.0-rc3","v3.7.0","v3.7.0-beta","v3.7.0-rc1","v3.7.0-rc2","v3.7.1","v3.7.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-18210.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}