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

CVE-2021-20183: Cross-site Scripting

January 28, 2021 (updated February 1, 2021)

It was found in Moodle that some search inputs were vulnerable to reflected XSS due to insufficient escaping of search queries.

References

  • moodle.org/mod/forum/discuss.php?d=417166
  • nvd.nist.gov/vuln/detail/CVE-2021-20183

Code Behaviors & Features

Detect and mitigate CVE-2021-20183 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.10.1

Fixed versions

  • 3.10.1

Solution

Upgrade to version 3.10.1 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/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-2021-20183.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:48 +0000.