{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2019-18210","published":"2020-02-11T14:15:17.877000Z","last_modified":"2026-06-17T02:24:29.157000Z","status":"Modified","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","part":"a","vendor":"moodle","product":"moodle","version_end_including":"3.7.2"}],"cpes_truncated":false,"vendors":["moodle"],"products":["moodle/moodle"],"epss":{"score":0.00799,"percentile":0.5771,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-q6vw-27c6-jv9c","ecosystem":"Packagist","name":"moodle/moodle","purl":"pkg:composer/moodle/moodle","ranges":[{"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"],"versions_truncated":false}],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2019-18210/","html_en":"/en/cve/CVE-2019-18210/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-18210","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-18210"},"untrusted":{"vendor_name":"Moodle","product_name":"Moodle","desc_en":"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.\"","affected":[],"references":[{"url":"https://docs.moodle.org/38/en/Teacher_role","tags":["Vendor Advisory"]},{"url":"https://gist.github.com/Danbardo/4a6b0fe8cb21ec6d7c54e6ac951bdb0a","tags":["Third Party Advisory"]}]}}