Live threats

All CVEs / Moodle

CVE-2023-23922Moodle

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
1.0%
probability of exploitation in 30 days · percentile 60
Auth required
No
Published
Feb 17, 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

The vulnerability was found Moodle which exists due to insufficient sanitization of user-supplied data in blog search. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website. This flaw allows a remote attacker to perform cross-site scripting (XSS) attacks.

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.0.0-beta < 4.0.6 4.0.6 composer require "moodle/moodle:^4.0.6"
Packagist moodle/moodle ≥ 4.1.0-beta < 4.1.1 4.1.1 composer require "moodle/moodle:^4.1.1"

Per OSV / GitHub Advisories (GHSA-grmj-gpwm-98ww). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle≥ 4.0.0 < 4.0.6
moodlemoodle4.1.0

Official sources

References

Links published by the sources. Open them with care.