{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"state":"PUBLISHED","cveId":"CVE-2023-23921","assignerOrgId":"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5","assignerShortName":"fedora","dateUpdated":"2024-08-02T10:42:27.105Z","dateReserved":"2023-01-19T00:00:00.000Z","datePublished":"2023-02-17T00:00:00.000Z"},"containers":{"cna":{"title":"Moodle: reflected xss risk in some returnurl parameters","metrics":[{"other":{"content":{"value":"Important","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}}],"descriptions":[{"lang":"en","value":"The vulnerability was found Moodle which exists due to insufficient sanitization of user-supplied data in some returnurl parameters. 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."}],"affected":[{"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"},{"status":"affected","version":"3.11.0","lessThan":"3.11.12","versionType":"semver"},{"status":"affected","version":"0","lessThan":"3.9.19","versionType":"semver"}],"packageName":"moodle","collectionURL":"https://git.moodle.org","defaultStatus":"unaffected"}],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76810"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2162526"},{"url":"https://moodle.org/mod/forum/discuss.php?d=443272#p1782021"}],"datePublic":"2023-01-23T04:00:00.000Z","problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"x_redhatCweChain":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","timeline":[{"lang":"en","time":"2023-01-19T00:00:00.000Z","value":"Reported to Red Hat."},{"lang":"en","time":"2023-01-23T04:00:00.000Z","value":"Made public."}],"credits":[{"lang":"en","value":"Upstream acknowledges DegrangeM as the original reporter."}],"providerMetadata":{"orgId":"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5","shortName":"fedora","dateUpdated":"2024-04-19T13:37:11.024Z"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T10:42:27.105Z"},"title":"CVE Program Container","references":[{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76810","tags":["x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2162526","tags":["x_transferred"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=443272#p1782021","tags":["x_transferred"]}]}]}}