{"id":"CVE-2023-23922","aliases":["CVE-2023-23922","GHSA-grmj-gpwm-98ww","BIT-MOODLE-2023-23922"],"related":[],"kind":"vulnerability","state":"published","title":"Moodle: reflected xss risk in blog search","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2023-02-17T00:00:00.000Z","modified":"2026-09-08T08:48:14.883Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"4.1.0","fixed":"4.1.1","status":"affected"},{"type":"semver","introduced":"4.0.0","fixed":"4.0.6","status":"affected"}],"package":"moodle","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0-beta","status":"affected","fixed":"4.0.6"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.1.0-beta","status":"affected","fixed":"4.1.1"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.0.0","fixed":"4.0.6"},{"status":"affected","version":"4.1.0"}],"vendor":"moodle","product":"moodle","cpe":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.0.6"},{"type":"semver","introduced":"4.1.0","status":"affected","fixed":"4.1.1"}],"ecosystem":"Bitnami","package":"moodle","purl":"pkg:bitnami/moodle","source":"bitnami"}],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76861","tags":["fix","patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2162547","tags":["advisory","issue-tracking","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=443273#p1782022","tags":["advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23922","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/moodle/moodle","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"fedora","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-07-18T19:34:09.817Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-23922","url":"https://www.cve.org/CVERecord?id=CVE-2023-23922","licence":"CVE Terms of Use","modified":"2024-08-02T10:42:27.107Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-grmj-gpwm-98ww","url":"https://github.com/advisories/GHSA-grmj-gpwm-98ww","licence":"CC-BY-4.0","modified":"2023-12-06T01:02:51.520Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-23922","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23922","licence":"Public domain","modified":"2026-06-17T05:38:17.617Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MOODLE-2023-23922","url":"https://osv.dev/vulnerability/BIT-MOODLE-2023-23922","licence":"Apache-2.0","modified":"2026-09-08T08:48:14.883Z"}],"updatedAt":"2026-11-25T22:58:22.064Z","epss":{"score":0.00877,"percentile":0.60104,"date":"2026-12-01T12:00:22.000Z"}}