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-40694

Moodle Improper Encoding or Escaping of Output

Overview

Published
29 Sep 2022
Modified
17 Jun 2026
Medium CVE
2 Registry packages
0 OS packages
0 Linux distributions
Yes Fix available

Description

Insufficient escaping of the LaTeX preamble made it possible for site administrators to read files available to the HTTP server system account.

Source: OX vulnerability database

Severity

4.9 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

Weakness: CWE-116

Affected packages · 2

Packages affected by CVE-2021-40694
EcosystemPackageVulnerableFixed in
Bitnami moodle <3.9.10>=3.10.0, <3.10.7>=3.11.0, <3.11.3 3.9.103.10.73.11.3
Composer (PHP) moodle/moodle >=3.9, <3.9.10>=3.10, <3.10.7>=3.11, <3.11.3 3.9.103.10.73.11.3

Open a package to see all its vulnerabilities.

Operating systems

No Linux distribution reports this ID.

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.