CrowdSecLive Exploit Tracker
Limited ExploitationCVE-2021-32478Public Exploit

Moodle - XSS (CVE-2021-32478)

PublishedMar 11, 2022
First SeenNov 5, 2025
Last Seen
Reported
CVSS6.1
web_application

Description

The redirect URI in the LTI authorization endpoint required extra sanitizing to prevent reflected XSS and open redirect risks. Moodle versions 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8 and earlier unsupported versions are affected.

psychologyCrowdSec Analysis

CVE-2021-32478 is a vulnerability in Moodle's LTI authorization endpoint that exposes users to reflected cross-site scripting (XSS) and open redirect attacks due to insufficient sanitization of the redirect URI. Attackers could exploit this flaw to execute malicious scripts or redirect users to malicious sites, potentially leading to credential theft or phishing.

CrowdSec has been tracking this vulnerability and its exploits since 29th of October 2025.

Insights from the CrowdSec network reveal that the attackers trying to exploit CVE-2021-32478 are composed of a fairly even mix of opportunistic and targeted actors. Some attackers employ preliminary reconnaissance, while others use indiscriminate scanning. CrowdSec network telemetry also shows that exploitation of CVE-2021-32478 has significantly declined over the past week. Attack volumes are well below the long-term average, suggesting attackers are rapidly losing interest. The vulnerability appears to be falling out of active use across most threat landscapes.

Attackers exploit the /mod/lti/auth.php endpoint by supplying a malicious redirect_uri parameter, enabling reflected XSS or open redirect attacks through crafted URLs.

lock

Full Intelligence Available

Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.

EventDate
CVE Published2022-03-11
Rule Released2025-10-29
CrowdSec First Seen2025-11-05

Remediation & Protection

lock to download blocklists, subscribe to firewalls, and access IP intelligence.