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

CVE-2020-1691: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

August 6, 2022 (updated July 13, 2023)

In Moodle 3.8, messages required extra sanitizing before updating the conversation overview, to prevent the risk of stored cross-site scripting.

References

  • github.com/advisories/GHSA-cwhp-rqfr-8462
  • github.com/moodle/moodle/commit/4e809346537e230cbff8235bfee0e7e151e4e9f9
  • moodle.org/mod/forum/discuss.php?d=395953
  • nvd.nist.gov/vuln/detail/CVE-2020-1691

Code Behaviors & Features

Detect and mitigate CVE-2020-1691 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

Version 3.8

Fixed versions

  • 3.8.1

Solution

Upgrade to version 3.8.1 or above.

Impact 5.4 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/moodle/moodle/CVE-2020-1691.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:22 +0000.