{"id":"CVE-2021-20186","published":"2021-01-28T18:38:03Z","modified":"2024-08-03T17:30:07Z","title":"It was found in Moodle before version 3.10.1, 3.9.4, 3.8.7 and 3.5.16 that if the TeX notation filter was enabled…","vendor":null,"product":null,"tier":"tail","description":{"text":"It was found in Moodle before version 3.10.1, 3.9.4, 3.8.7 and 3.5.16 that if the TeX notation filter was enabled, additional sanitizing of TeX content was required to prevent the risk of stored XSS.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00763,"percentile":0.56294,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://moodle.org/mod/forum/discuss.php?d=417170","tags":["x_refsource_MISC"]}],"priority":{"score":11.3,"factors":[{"name":"EPSS percentile","points":11.26}]},"affectedVersions":[{"vendor":"n/a","product":"moodle","versions":["moodle 3.10.1, moodle 3.9.4, moodle 3.8.7, moodle 3.5.16"]}],"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=3.10, <3.10.1",">=3.9, <3.9.4",">=3.8, <3.8.7",">=3.5, <3.5.16"],"patched":["3.10.1","3.9.4","3.8.7","3.5.16"],"from":["GHSA-h8m4-h385-qhqv"],"provenance":"source"}],"summary":{"text":"The flaw is a stored cross-site scripting weakness in the TeX notation filter of Moodle, where TeX content was not sufficiently sanitised when that filter was enabled. An attacker who can get malicious TeX content stored in Moodle could cause script to run in the context of other users who view it, with the exact access conditions (such as authentication level or user interaction) not specified in the available data.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:23Z"},"euvd":{"id":"EUVD-2022-4109","exploited":false,"provenance":"source"}}