{ "schema_version": "1.4.0", "id": "GHSA-79jp-m64f-pgrc", "modified": "2025-03-07T21:32:36Z", "published": "2023-03-07T00:30:26Z", "aliases": [ "CVE-2021-36399" ], "summary": "Moodle Cross-site Scripting vulnerability", "details": "In Moodle, ID numbers displayed in the quiz override screens required additional sanitizing to prevent a stored XSS risk.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N" } ], "affected": [ { "package": { "ecosystem": "Packagist", "name": "moodle/moodle" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "3.11.0-beta" }, { "fixed": "3.11.1" } ] } ] }, { "package": { "ecosystem": "Packagist", "name": "moodle/moodle" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "3.10.0-beta" }, { "fixed": "3.10.5" } ] } ] }, { "package": { "ecosystem": "Packagist", "name": "moodle/moodle" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "3.9.8" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-36399" }, { "type": "PACKAGE", "url": "https://github.com/moodle/moodle" }, { "type": "WEB", "url": "https://moodle.org/mod/forum/discuss.php?d=424805" } ], "database_specific": { "cwe_ids": [ "CWE-79" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2023-03-08T17:22:19Z", "nvd_published_at": "2023-03-06T22:15:00Z" } }