Live threats

All CVEs / Moodle

CVE-2023-28331Moodle

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.8%
probability of exploitation in 30 days · percentile 52
Auth required
No
Published
Mar 23, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

Content output by the database auto-linking filter required additional sanitizing to prevent an XSS risk.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist moodle/moodle ≥ 4.1.0 < 4.1.2 4.1.2 composer require "moodle/moodle:^4.1.2"
Packagist moodle/moodle ≥ 4.0.0 < 4.0.7 4.0.7 composer require "moodle/moodle:^4.0.7"
Packagist moodle/moodle ≥ 3.11.0 < 3.11.13 3.11.13 composer require "moodle/moodle:^3.11.13"
Packagist moodle/moodle < 3.9.20 3.9.20 composer require "moodle/moodle:^3.9.20"

Per OSV / GitHub Advisories (GHSA-77jm-f3vj-xvx2). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle> 3.9.0 < 3.9.20
moodlemoodle> 3.11.0 < 3.11.13
moodlemoodle> 4.0.0 < 4.0.7
moodlemoodle3.9.0
moodlemoodle3.11.0
moodlemoodle4.0.0
moodlemoodle4.1.0
moodlemoodle4.1.1

Official sources

References

Links published by the sources. Open them with care.