Moodle 3.10.3 XSS in Calendar Event Subtitle
CVE-2021-47857 Published on January 21, 2026
Moodle 3.10.3 - 'label' Persistent Cross Site Scripting
Moodle 3.10.3 contains a persistent cross-site scripting vulnerability in the calendar event subtitle field that allows attackers to inject malicious scripts. Attackers can craft a calendar event with malicious JavaScript in the subtitle track label to execute arbitrary code when users view the event.
Vulnerability Analysis
CVE-2021-47857 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2021-47857. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality and integrity, and no impact on availability.
Weakness Type
What is a XSS Vulnerability?
The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
CVE-2021-47857 has been classified to as a XSS vulnerability or weakness.
Products Associated with CVE-2021-47857
Want to know whenever a new CVE is published for Moodle? stack.watch will email you.
Affected Versions
Moodle Version 3.10.3 is affected by CVE-2021-47857Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.