{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-23922","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.","descriptionLong":"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.","published":"2023-02-17T00:00:00.000Z","updated":"2026-10-28T02:30:58.153516578Z","reserved":"2023-01-19T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"fedora","metric":{"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","rating":"medium","source":"NVD"},"metrics":[{"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","rating":"medium","source":"NVD"},{"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["moodle"],"affectedProducts":[{"vendor":"","product":"moodle","defaultStatus":"unaffected","versions":[{"status":"affected","version":"4.1.0","lessThan":"4.1.1","versionType":"semver"},{"status":"affected","version":"4.0.0","lessThan":"4.0.6","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"moodle/moodle","purl":"pkg:composer/moodle/moodle","ranges":[">=4.0.0-beta <4.0.6",">=4.1.0-beta <4.1.1"],"fixed":["4.0.6","4.1.1"],"advisory":"GHSA-grmj-gpwm-98ww"}],"cwes":["CWE-79"],"aliases":["BIT-moodle-2023-23922","GHSA-grmj-gpwm-98ww"],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76861","tags":["x_transferred","Patch","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2162547","tags":["x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=443273#p1782022","tags":["x_transferred","Vendor Advisory","web"]},{"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://nvd.nist.gov/vuln/detail/CVE-2023-23922","tags":["advisory"]},{"url":"https://github.com/moodle/moodle","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00854,"epssPercentile":0.59018,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-23922","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23922","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-23922","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-grmj-gpwm-98ww","ok":true,"note":"GHSA-grmj-gpwm-98ww"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-23922","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}