# CVE-2021-47857: Moodle 3.10.3 - 'label' Persistent Cross Site Scripting

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.18%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-21T17:27:39.382Z
- Modified: 2026-09-10T16:01:43.396Z
- Also known as: BIT-MOODLE-2021-47857
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Moodle Moodle: 3.10.3
- moodle (Bitnami): from 3.10.3 up to 3.10.3

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N`
- VulnCheck: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://www.exploit-db.com/exploits/49714> (exploit, advisory, third-party-advisory, vdb-entry)
- <https://moodle.org/> (product, web)
- <https://www.vulncheck.com/advisories/moodle-label-persistent-cross-site-scripting> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-47857> (web)

## Sources

- CVE List: [CVE-2021-47857](https://www.cve.org/CVERecord?id=CVE-2021-47857), CVE Terms of Use, modified 2026-03-05
- NVD: [CVE-2021-47857](https://nvd.nist.gov/vuln/detail/CVE-2021-47857), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2021-47857](https://osv.dev/vulnerability/BIT-MOODLE-2021-47857), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2021-47857 · Whole record: https://cve.day/CVE-2021-47857.json · Rebuilt by cve.day 2026-11-25T22:58:09.075Z
