{"id":"CVE-2021-40694","aliases":["BIT-moodle-2021-40694","GHSA-m37g-mwcg-7j7v"],"url":"https://o3.security/vulnerability/CVE-2021-40694","summary":"Moodle Improper Encoding or Escaping of Output","details":"Insufficient escaping of the LaTeX preamble made it possible for site administrators to read files available to the HTTP server system account.","published":"2022-09-29T03:15:14.417Z","modified":"2026-07-09T01:07:22.704612Z","cvss":{"score":4.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.9.10"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.10.7"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.11.3"}],"fix":null,"references":[{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2043421"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40694"},{"type":"PACKAGE","url":"https://github.com/moodle/moodle"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T01:07:22.704612Z"}}