{"id":"GHSA-grmj-gpwm-98ww","aliases":["BIT-moodle-2023-23922","CVE-2023-23922"],"title":"Moodle Cross-site Scripting vulnerability","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"MODERATE","description":"The vulnerability was found Moodle which exists due to insufficient sanitization of user-supplied data in blog search. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website. This flaw allows a remote attacker to perform cross-site scripting (XSS) attacks.","severity":"medium","score":6.1,"published":"2023-02-17T21:30:41.000Z","modified":"2023-12-06T01:02:51.520Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"moodle/moodle","sources":[{"name":"OSV · GHSA-grmj-gpwm-98ww","url":"https://osv.dev/vulnerability/GHSA-grmj-gpwm-98ww"}],"ranges":[{"events":[{"introduced":"4.0.0-beta"},{"fixed":"4.0.6"}],"type":"ECOSYSTEM"}],"versions":["v4.0.0","v4.0.0-beta","v4.0.0-rc1","v4.0.0-rc2","v4.0.0-rc3","v4.0.0-rc4","v4.0.1","v4.0.2","v4.0.3","v4.0.4","v4.0.5"],"fixed":["4.0.6"]},{"ecosystem":"Packagist","name":"moodle/moodle","sources":[{"name":"OSV · GHSA-grmj-gpwm-98ww","url":"https://osv.dev/vulnerability/GHSA-grmj-gpwm-98ww"}],"ranges":[{"events":[{"introduced":"4.1.0-beta"},{"fixed":"4.1.1"}],"type":"ECOSYSTEM"}],"versions":["v4.1.0","v4.1.0-beta","v4.1.0-rc1","v4.1.0-rc2","v4.1.0-rc3"],"fixed":["4.1.1"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2023-23922","https://bugzilla.redhat.com/show_bug.cgi?id=2162547","https://github.com/moodle/moodle","https://moodle.org/mod/forum/discuss.php?d=443273#p1782022","http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76861"],"sources":[{"name":"OSV","id":"GHSA-grmj-gpwm-98ww","modified":"2023-12-06T01:02:51.520224Z","url":"https://osv.dev/vulnerability/GHSA-grmj-gpwm-98ww"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T22:05:31.879Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}