{"id":"CVE-2023-5546","summary":"Moodle: stored xss in quiz grading report via user id number","details":"ID numbers displayed in the quiz grading report required additional sanitizing to prevent a stored XSS risk.","aliases":["BIT-moodle-2023-5546","GHSA-9724-h8p7-r3jv"],"modified":"2026-05-28T04:09:45.683132397Z","published":"2023-11-09T19:34:21.895Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5546.json","cwe_ids":["CWE-79"],"cna_assigner":"fedora","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"4.2.0"},{"fixed":"4.2.3"},{"introduced":"4.1.0"},{"fixed":"4.1.6"},{"introduced":"4.0.0"},{"fixed":"4.0.11"}]}]},"references":[{"type":"WEB","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-78971"},{"type":"WEB","url":"https://git.moodle.org"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=451587"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5546.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5546"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2243445"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/moodle/moodle","events":[{"introduced":"8b359ad7a63cf219110bca80552fe3d4ea2a635d"},{"fixed":"b72ce02928c561588861d24330b2c3619f76d116"},{"introduced":"0ea3d45e04c3d54a3a472ddcb11606b30e227c50"},{"fixed":"b0a7bc3f42a0db2a0bf66b93623534f5f9af3294"},{"introduced":"ae4efa96ee8169a848c141ad21690165ea791552"},{"fixed":"97130393545528109fb8ce9d9e45e3f84fed3880"}],"database_specific":{"source":"CPE_RANGE","extracted_events":[{"introduced":"4.0.0"},{"fixed":"4.0.11"},{"introduced":"4.1.0"},{"fixed":"4.1.6"},{"introduced":"4.2.0"},{"fixed":"4.2.3"}],"cpe":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*"}}],"versions":["v4.1.5","v4.2.2","v4.0.10","v4.0.9","v4.2.1","v4.1.4","v4.2.0","v4.0.8","v4.1.3","v4.0.7","v4.1.2","v4.0.6","v4.1.1","v4.1.0","v4.0.5","v4.0.4","v4.0.3","v4.0.2","v4.0.1","v4.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-5546.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N"}]}