{"id":"GHSA-q6vw-27c6-jv9c","summary":"Moodle Persistent Cross-site Scripting (XSS)","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":["CVE-2019-18210"],"modified":"2024-04-24T00:11:49.129294Z","published":"2022-05-24T22:28:53Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-04-23T23:39:18Z","nvd_published_at":"2020-02-11T14:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-18210"},{"type":"WEB","url":"https://docs.moodle.org/38/en/Teacher_role"},{"type":"WEB","url":"https://gist.github.com/Danbardo/4a6b0fe8cb21ec6d7c54e6ac951bdb0a"},{"type":"PACKAGE","url":"https://github.com/moodle/moodle"}],"affected":[{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.7"},{"last_affected":"3.7.2"}]}],"versions":["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://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-q6vw-27c6-jv9c/GHSA-q6vw-27c6-jv9c.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}