Moderate severityOSV Advisory· Published Mar 23, 2023· Updated Feb 25, 2025
Moodle: xss risk when outputting database activity filter data
CVE-2023-28331
Description
Content output by the database auto-linking filter required additional sanitizing to prevent an XSS risk.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
moodle/moodlePackagist | >= 4.1.0, < 4.1.2 | 4.1.2 |
moodle/moodlePackagist | >= 4.0.0, < 4.0.7 | 4.0.7 |
moodle/moodlePackagist | >= 3.11.0, < 3.11.13 | 3.11.13 |
moodle/moodlePackagist | < 3.9.20 | 3.9.20 |
Affected products
3- osv-coords2 versions
>= 3.9.0, < 3.9.20+ 1 more
- (no CPE)range: >= 3.9.0, < 3.9.20
- (no CPE)range: >= 4.1.0, < 4.1.2
Patches
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
9- github.com/advisories/GHSA-77jm-f3vj-xvx2ghsaADVISORY
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF/mitrevendor-advisory
- nvd.nist.gov/vuln/detail/CVE-2023-28331ghsaADVISORY
- bugzilla.redhat.com/show_bug.cgighsaissue-trackingx_refsource_REDHATWEB
- git.moodle.org/gwghsaWEB
- github.com/moodle/moodle/commit/1899e0397350c4c2bb3e73773981f66f16f8f2fcghsaWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPFghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPFghsaWEB
- moodle.org/mod/forum/discuss.phpghsaWEB
News mentions
0No linked articles in our index yet.