Live threats

All CVEs / Moodle

CVE-2023-35131Moodle

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.8%
probability of exploitation in 30 days · percentile 53
Auth required
No
Published
Jun 22, 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 on the groups page required additional sanitizing to prevent an XSS risk. This flaw affects Moodle versions 4.2, 4.1 to 4.1.3, 4.0 to 4.0.8 and 3.11 to 3.11.14.

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.2.0 < 4.2.1 4.2.1 composer require "moodle/moodle:^4.2.1"
Packagist moodle/moodle ≥ 4.1.0 < 4.1.4 4.1.4 composer require "moodle/moodle:^4.1.4"
Packagist moodle/moodle ≥ 4.0.0 < 4.0.9 4.0.9 composer require "moodle/moodle:^4.0.9"
Packagist moodle/moodle < 3.11.15 3.11.15 composer require "moodle/moodle:^3.11.15"

Per OSV / GitHub Advisories (GHSA-fwfj-8p36-rc64). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle≥ 3.11.0 < 3.11.15
moodlemoodle≥ 4.0.0 < 4.0.9
moodlemoodle≥ 4.1.0 < 4.1.4
moodlemoodle4.2.0

Official sources

References

Links published by the sources. Open them with care.