4.9

CVE-2021-40694: moodle Improper Encoding or Escaping of Output

CVSS: 4.9v3.1MediumModified
AliasesUBUNTU-CVE-2021-40694
Published 21-01-2022Last modified 04-08-2024

Vulnerability summary

CVE-2021-40694 is a medium (CVSS 4.9) Improper Encoding or Escaping of Output vulnerability in moodle. EPSS estimates a 0.90% chance of exploitation in the next 30 days, higher than 59% of scored vulnerabilities.

Overall risk
20/100
0100
Low · default modelHow is this calculated?
CVSS score
4.9/10
010
Medium · v3.1 (NVD)
EPSS score
0.90%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 21-01-2022
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

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

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.90%

Chance of exploitation in the next 30 days

Percentile

59%

Versus all other CVEs

30-day change

0.00 pp

From 0.90% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.90%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Moodle1 product
  • moodle< 3.9.10 | ≥ 3.10.0, < 3.10.7 | ≥ 3.11.0, < 3.11.3
Ubuntu1 product
  • moodleAll versions (No fix recorded)

2 vendors · 2 products

References

3 links