{ "schema_version": "1.4.0", "id": "GHSA-g6h6-4fp6-w33w", "modified": "2025-03-07T19:13:27Z", "published": "2023-03-07T00:30:25Z", "aliases": [ "CVE-2021-36401" ], "summary": "Moodle vulnerable to Stored Cross-site Scripting", "details": "In Moodle, ID numbers exported in HTML data formats required additional sanitizing to prevent a local stored XSS risk.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:A/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-36401" }, { "type": "PACKAGE", "url": "https://github.com/moodle/moodle" }, { "type": "WEB", "url": "https://moodle.org/mod/forum/discuss.php?d=424807" } ], "database_specific": { "cwe_ids": [ "CWE-79" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2023-03-08T00:20:02Z", "nvd_published_at": "2023-03-06T22:15:00Z" } }