Vulnerability · Published Mar 23, 2023 · Assigned by fedora
CVE-2023-28331Moodle: xss risk when outputting database activity filter data
Medium 6.1
In plain English
A medium-severity cross-site scripting in moodle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.7%top 48.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
Content output by the database auto-linking filter required additional sanitizing to prevent an XSS risk.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | moodle/moodle | 4.1.2 | GHSA-77jm-f3vj-xvx2 |
| Packagist | moodle/moodle | 4.0.7 | GHSA-77jm-f3vj-xvx2 |
| Packagist | moodle/moodle | 3.11.13 | GHSA-77jm-f3vj-xvx2 |
| Packagist | moodle/moodle | 3.9.20 | GHSA-77jm-f3vj-xvx2 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| moodle | 4.1.0 – before 4.1.24.0.0 – before 4.0.73.11.0 – before 3.11.130 – before 3.9.20 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- RHBZ#2179418 issue-tracking, x_refsource_REDHAT
- FEDORA-2023-d9c13996b2 vendor-advisory
- https://moodle.org/mod/forum/discuss.php?d=445063