{"id":"CVE-2023-23922","aliases":["BIT-moodle-2023-23922","EUVD-2023-0710","GHSA-grmj-gpwm-98ww","UBUNTU-CVE-2023-23922"],"status":"published","title":"Moodle: reflected xss risk in blog search","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":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.00854,"percentile":0.58796,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2023-02-17T00:00:00Z","modified":"2026-10-28T02:30:58Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["4.0.6","4.1.1"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"moodle","fixed_in":["4.0.6","4.1.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0-beta"},{"fixed":"4.0.6"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0-beta"},{"fixed":"4.1.1"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"moodle","ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0"},{"fixed":"4.0.6"},{"introduced":"4.1.0"},{"fixed":"4.1.1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0-beta"},{"fixed":"4.0.6"}]}],"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"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0-beta"},{"fixed":"4.1.1"}]}],"versions":["v4.1.0","v4.1.0-beta","v4.1.0-rc1","v4.1.0-rc2","v4.1.0-rc3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.9+dfsg-1","2.7.10+dfsg-1","2.7.11+dfsg-1","2.7.11+dfsg-2","2.7.12+dfsg-1","3.0.3+dfsg-0ubuntu1","3.0.3+dfsg-0ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.3+dfsg-0ubuntu1","3.0.3+dfsg-0ubuntu1+esm1"]}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-76861","tags":["x_transferred","Patch","fix","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2162547","tags":["x_transferred","Issue Tracking","Third Party Advisory","advisory","report","web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=443273#p1782022","tags":["x_transferred","Vendor Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23922","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-grmj-gpwm-98ww"},{"url":"https://git.moodle.org","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/23xxx/CVE-2023-23922.json","tags":["advisory"]},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2023-23922","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-23922","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-23922","title":"Moodle: reflected xss risk in blog search","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.","status":"published","published":"2023-02-17T00:00:00Z","modified":"2024-08-02T10:42:27.107Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:35:20.812737Z"}],"euvd":[{"id":"EUVD-2023-0710","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.","status":"published","published":"2023-02-17T00:00:00Z","modified":"2024-08-02T10:42:27Z","updated_at":"2026-11-03T03:50:07.32318Z"}],"ghsa":[{"id":"GHSA-grmj-gpwm-98ww","title":"Moodle Cross-site Scripting vulnerability","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.","status":"published","published":"2023-02-17T21:30:41Z","modified":"2023-03-02T19:29:11Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:46.526285Z"}],"nvd":[{"id":"CVE-2023-23922","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.","status":"published","published":"2023-02-17T20:15:11.883Z","modified":"2026-06-17T05:38:17.617Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:47.623983Z"}],"osv":[{"id":"GHSA-grmj-gpwm-98ww","title":"Moodle Cross-site Scripting vulnerability","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.","status":"published","published":"2023-02-17T21:30:41Z","modified":"2023-12-06T01:02:51.520224Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:48.191583Z"},{"id":"UBUNTU-CVE-2023-23922","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.","status":"published","published":"2023-02-17T20:15:00Z","modified":"2026-09-23T18:45:58.548926407Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T16:54:20.198616Z"},{"id":"BIT-moodle-2023-23922","title":"Moodle: reflected xss risk in blog search","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.","status":"published","published":"2024-03-06T11:01:14.978Z","modified":"2026-09-08T08:48:14.883131145Z","updated_at":"2026-11-02T15:28:33.469426Z"},{"id":"CVE-2023-23922","title":"Moodle: reflected xss risk in blog search","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.","status":"published","published":"2023-02-17T00:00:00Z","modified":"2026-10-28T02:30:58.153516578Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:30.709518Z"}]}}
