Live threats

All CVEs / Moodle

CVE-2022-35653Moodle

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
3.3%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Jul 25, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

A reflected XSS issue was identified in the LTI module of Moodle. The vulnerability exists due to insufficient sanitization of user-supplied data in the LTI module. 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 to steal potentially sensitive information, change appearance of the web page, can perform phishing and drive-by-download attacks. This vulnerability does not impact authenticated users.

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 < 4.0.2 4.0.2 composer require "moodle/moodle:^4.0.2"
Packagist moodle/moodle ≥ 3.11 < 3.11.8 3.11.8 composer require "moodle/moodle:^3.11.8"
Packagist moodle/moodle ≥ 3.9 < 3.9.15 3.9.15 composer require "moodle/moodle:^3.9.15"

Per OSV / GitHub Advisories (GHSA-62wh-m4jr-233r). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle≥ 3.9.0 < 3.9.15
moodlemoodle≥ 3.11.0 < 3.11.8
moodlemoodle4.0.0
moodlemoodle4.0.0
moodlemoodle4.0.0
moodlemoodle4.0.0
moodlemoodle4.0.0
moodlemoodle4.0.0
moodlemoodle4.0.1
fedoraprojectfedora35
fedoraprojectfedora36
redhatenterprise_linux8.0

Official sources

References

Links published by the sources. Open them with care.