{"id":"BIT-moodle-2026-102581","summary":"Moodle: xss in forum post templates due to insufficient escaping","details":"A flaw was found in Moodle. Insufficient output escaping in templates used to display forum posts enables a stored cross-site scripting (XSS) vulnerability. An attacker can inject malicious content into a forum post, which then executes arbitrary script code in the browser of another user viewing the affected post.","aliases":["CVE-2026-102581"],"modified":"2026-10-05T14:30:05.635870723Z","published":"2026-10-05T11:55:25.980Z","database_specific":{"severity":"Medium","cpes":["cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*"]},"references":[{"type":"FIX","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-88981"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-102581"},{"type":"ADVISORY","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2543634"},{"type":"ADVISORY","url":"https://moodle.org/mod/forum/discuss.php?d=482499"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102581"}],"affected":[{"package":{"name":"moodle","ecosystem":"Bitnami","purl":"pkg:bitnami/moodle"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.5.13"},{"introduced":"5.0.0"},{"fixed":"5.0.9"},{"introduced":"5.1.0"},{"fixed":"5.1.6"},{"introduced":"5.2.0"},{"fixed":"5.2.2"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/moodle/BIT-moodle-2026-102581.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}],"schema_version":"1.9.0"}