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

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

September 13, 2022 (updated November 7, 2023)

In certain Moodle products after creating a course, it is possible to add in a arbitrary “Topic” a resource, in this case a “Database” with the type “Text” where its values “Field name” and “Field description” is vulnerable to Cross Site Scripting Stored(XSS). This affects Moodle 3.11 and Moodle 3.10.4 and Moodle 3.9.7.

References

  • blog.hackingforce.com.br/en/cve-2021-36568/
  • drive.google.com/drive/folders/1_fO4BKpmD3avGYHSzvIXWs5owqVYgB1s?usp=sharing
  • nvd.nist.gov/vuln/detail/CVE-2021-36568

Code Behaviors & Features

Detect and mitigate CVE-2021-36568 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.9.7, version 3.10.4, version 3.11.0

Fixed versions

  • 3.9.8
  • 3.10.5
  • 3.11.1

Solution

Upgrade to versions 3.9.8, 3.10.5, 3.11.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-2021-36568.yml

Spotted a mistake? Edit the file on GitLab.

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

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