Security mailing lists by PureSourceCode

CVE-2021-40694

MEDIUM 4.9CVSS 3.1

Moodle Improper Encoding or Escaping of Output

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

Published
29 Sep 2022
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-116
Also known as
BIT-moodle-2021-40694GHSA-m37g-mwcg-7j7v
Sources
NVDJSONOSV GHSA-m37g-mwcg-7j7vJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
< 3.9.10 3.9.10
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 3.10.0, < 3.10.7 3.10.7
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 3.11.0, < 3.11.3 3.11.3
OSV Packagist moodle/moodle >= 3.9, < 3.9.10 3.9.10
OSV Packagist moodle/moodle >= 3.10, < 3.10.7 3.10.7
OSV Packagist moodle/moodle >= 3.11, < 3.11.3 3.11.3

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 29 Sep 2022)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 30 Sep 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.