CVE-2023-28331 json
Moodle: xss risk when outputting database activity filter data
published 2023-03-23 3 y ago modified 2026-09-08 2 mo ago also BIT-moodle-2023-28331 , EUVD-2023-0917 , GHSA-77jm-f3vj-xvx2
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
Content output by the database auto-linking filter required additional sanitizing to prevent an XSS risk.
Patch / fix
- packagist moodle/moodle 3.9.20, 3.11.13, 4.0.7, 4.1.2
- bitnami moodle 3.9.20, 3.11.13, 4.0.7, 4.1.2
- moodle moodle 3.9.20, 3.11.13, 4.0.7
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-28331 updated
moodle: XSS risk when outputting database activity filter data
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.66% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | >=4.1.0, <4.1.2 >=4.0.0, <4.0.7 >=3.11.0, <3.11.13 <3.9.20 |
4.1.2 4.0.7 3.11.13 3.9.20 |
| bitnami | moodle | >=3.9.0, <3.9.20 >=3.11.0, <3.11.13 >=4.0.0, <4.0.7 >=4.1.0, <4.1.2 |
3.9.20 3.11.13 4.0.7 4.1.2 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
moodle.org
/mod/forum/discuss.php?d=445063
web, patch, vendor-advisory, advisory
-
github.com
/moodle/moodle/commit/1899e0397350c4c2bb3e73773981f66f16f8f2fc
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF/
vendor-advisory, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2179418
issue-tracking, web
-
nvd.nist.gov
/vuln/detail/CVE-2023-28331
advisory, web
-
git.moodle.org
/gw?p=moodle.git;a=commitdiff;h=1899e0397350c4c2bb3e73773981f66f16f8f2fc
web
-
github.com
/moodle/moodle
package
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF
web
Sources
- CVE List CVE-2023-28331
- GitHub Advisory GHSA-77jm-f3vj-xvx2
- NVD CVE-2023-28331
- OSV BIT-moodle-2023-28331
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.