SecurityContext

CVE-2021-47857: Moodle - Stored XSS

  • Cve: CVE-2021-47857
  • Name: Moodle - Stored XSS
  • Description: 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.
  • Impact: Attackers can execute arbitrary JavaScript in users' browsers, potentially stealing data or performing actions on behalf of users.
  • Remediation: Update to the latest Moodle version that fixes this vulnerability.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.01176
  • Epss percentile: 0.68219
  • Assignee: [email protected]
  • Published at: 2026-01-21T18:16:16Z
  • Age in days: 307
  • Modified at: 2026-06-17T04:18:38Z
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-47857
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://www.exploit-db.com/exploits/49714nvd2026-01-21

References

Same in every row:

  • Source: nvd
UrlTags
https://www.exploit-db.com/exploits/49714Exploit, Third Party Advisory, VDB Entry
https://www.vulncheck.com/advisories/moodle-label-persistent-cross-site-scriptingThird Party Advisory
https://moodle.org/Product

Products

ProductAffectedPlatform boundSourcesUrl
moodle:moodle= 3.10.3nonvd/v1/products/moodle/moodle

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-01-21
  • Remote: yes
  • Exposed hosts: 62525
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports