{"id":"CVE-2019-3808","published":"2019-03-25T17:28:32Z","modified":"2024-08-04T19:19:18Z","title":"A flaw was found in Moodle versions 3.6 to 3.6.1, 3.5 to 3.5.3, 3.4 to 3.4.6, 3.1 to 3.1.15 and earlier unsupported…","vendor":null,"product":"moodle","tier":"tail","description":{"text":"A flaw was found in Moodle versions 3.6 to 3.6.1, 3.5 to 3.5.3, 3.4 to 3.4.6, 3.1 to 3.1.15 and earlier unsupported versions. The 'manage groups' capability did not have the 'XSS risk' flag assigned to it, but does have that access in certain places. Note that the capability is intended for use by trusted users, and is only assigned to teachers and managers by default.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01228,"percentile":0.69611,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3808","tags":["x_refsource_CONFIRM"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=381228#p1536765","tags":["x_refsource_CONFIRM"]},{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-64395","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":13.92},{"name":"CVSS severity","points":3.01}]},"affectedVersions":[{"vendor":"[UNKNOWN]","product":"moodle","versions":["3.6.2","3.5.4","3.4.7","3.1.16"]}],"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=3.6.0, <3.6.2",">=3.5.0, <3.5.4",">=3.2.0, <3.4.7","<3.1.16"],"patched":["3.6.2","3.5.4","3.4.7","3.1.16"],"from":["GHSA-4r2p-wpv5-683w"],"provenance":"source"}],"summary":{"text":"The flaw lies in Moodle's \"manage groups\" capability, which was not flagged as an XSS risk even though it grants access in some places where cross-site scripting could occur. An attacker holding that capability, which is by default limited to teachers and managers and is meant for trusted users, can inject script into affected pages, with exploitation requiring low privileges, network access to the Moodle instance and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:25:47Z"},"euvd":{"id":"EUVD-2022-2434","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-16854","published":"2018-11-26","fixed":"3.5.3","kev":false},{"cve":"CVE-2019-6970","published":"2019-03-18","fixed":"3.5.4","kev":false},{"cve":"CVE-2019-3810","published":"2019-03-25","fixed":"3.6.1","kev":false,"link":{"from":"CVE-2019-3810","to":"CVE-2019-3808","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:moodle/moodle","fromFixed":"3.6.1","toFixed":"3.6.2","daysApart":0}]}},{"cve":"CVE-2019-3808","published":"2019-03-25","fixed":"3.6.2","kev":false},{"cve":"CVE-2019-3847","published":"2019-03-27","fixed":"3.6.3","kev":false},{"cve":"CVE-2019-3848","published":"2019-03-26","fixed":"3.6.3","kev":false},{"cve":"CVE-2019-3849","published":"2019-03-26","fixed":"3.6.3","kev":false}],"package":"Packagist:moodle/moodle"}}