Persistent Cross-Site Scripting Vulnerability in Moodle
CVE-2021-47857

5.1MEDIUM

Key Information:

Vendor

Moodle

Status
Vendor
CVE Published:
21 January 2026

Badges

👾 Exploit Exists🟡 Public PoC

Key facts: CVE-2021-47857 is a medium severity (CVSS 5.1) vulnerability in Moodle. It is known to be exploited in the wild. 1 public proof-of-concept exploit is available. Its EPSS score is 1.5%, the estimated probability of exploitation in the next 30 days.

What is CVE-2021-47857?

Moodle version 3.10.3 is susceptible to a persistent cross-site scripting vulnerability in the calendar event subtitle field. This flaw permits malicious users to inject JavaScript code through crafted calendar events. When victim users view these events, the injected scripts can execute, potentially compromising user data and session integrity.

Affected Version(s)

Moodle 3.10.3

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

Browse all analysed vulnerabilities ›

CVSS V4

Score:
5.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Vincent666 ibn Winnie
.