Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. moodle/moodle
  4. ›
  5. CVE-2021-40694

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

September 29, 2022 (updated October 3, 2022)

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

References

  • bugzilla.redhat.com/show_bug.cgi?id=2043421
  • nvd.nist.gov/vuln/detail/CVE-2021-40694

Code Behaviors & Features

Detect and mitigate CVE-2021-40694 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.9.10, all versions starting from 3.10.0 before 3.10.7, all versions starting from 3.11.0 before 3.11.3

Fixed versions

  • 3.9.10
  • 3.10.7
  • 3.11.3

Solution

Upgrade to versions 3.9.10, 3.10.7, 3.11.3 or above.

Impact 4.9 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output

Source file

packagist/moodle/moodle/CVE-2021-40694.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:47 +0000.