Cyber Resilience

CVE-2021-40694

Medium

Published: 29 September 2022

Published
29 September 2022
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
EPSS Score 0.0049 66.1th percentile
Risk Priority 10 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2021-40694 is a medium-severity Improper Encoding or Escaping of Output (CWE-116) vulnerability in Moodle Moodle. Its CVSS base score is 4.9 (Medium).

Operationally, ranked in the top 33.9% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

EU & UK References

Vulnerability details

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

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

moodle
moodle
≤ 3.9.10 · 3.10.0 — 3.10.7 · 3.11.0 — 3.11.3

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-116

Validating that output matches expected content directly mitigates failures to properly encode or escape data for its destination context.

References