Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-20186

Moodle Cross-site Scripting

Overview

Published
28 Jan 2021
Modified
17 Jun 2026
Medium CVE
2 Registry packages
1 OS packages
1 Linux distributions
Yes Fix available

Description

It was found in Moodle before version 3.10.1, 3.9.4, 3.8.7 and 3.5.16 that if the TeX notation filter was enabled, additional sanitizing of TeX content was required to prevent the risk of stored XSS.

Source: OX vulnerability database

Severity

5.4 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Weakness: CWE-79

Affected packages · 2

Packages affected by CVE-2021-20186
EcosystemPackageVulnerableFixed in
Bitnami moodle <3.5.16>=3.8.0, <3.8.7>=3.9.0, <3.9.4>=3.10.0, <3.10.1 3.5.163.8.73.9.43.10.1
Composer (PHP) moodle/moodle >=3.10, <3.10.1>=3.9, <3.9.4>=3.8, <3.8.7>=3.5, <3.5.16 3.10.13.9.43.8.73.5.16

Open a package to see all its vulnerabilities.

Operating systems · 1 fix

ubuntu 1 release · 1 package

affected 1
moodle
ubuntu fixes for CVE-2021-20186
ReleasePackageFixed in
18.04-ESM moodle affected

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.