GitHub Advisory Database
GHSA-77jm-f3vj-xvx2
Moodle vulnerable to Cross-site Scripting
Details
Content output by the database auto-linking filter required additional sanitizing to prevent an XSS risk.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | From 4.1.0 before 4.1.2 (fixed in 4.1.2) |
| Packagist | moodle/moodle | From 4.0.0 before 4.0.7 (fixed in 4.0.7) |
| Packagist | moodle/moodle | From 3.11.0 before 3.11.13 (fixed in 3.11.13) |
| Packagist | moodle/moodle | All versions before 3.9.20 (fixed in 3.9.20) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-28331
- https://github.com/moodle/moodle/commit/1899e0397350c4c2bb3e73773981f66f16f8f2fc
- https://bugzilla.redhat.com/show_bug.cgi?id=2179418
- https://git.moodle.org/gw?p=moodle.git;a=commitdiff;h=1899e0397350c4c2bb3e73773981f66f16f8f2fc
- https://github.com/moodle/moodle
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF
- https://moodle.org/mod/forum/discuss.php?d=445063