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

CVE-2021-20280: Cross-site Scripting

March 15, 2021 (updated November 7, 2023)

Text-based feedback answers required additional sanitizing to prevent stored XSS and blind SSRF risks in moodle

References

  • bugzilla.redhat.com/show_bug.cgi?id=1939037
  • moodle.org/mod/forum/discuss.php?d=419651
  • nvd.nist.gov/vuln/detail/CVE-2021-20280

Code Behaviors & Features

Detect and mitigate CVE-2021-20280 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 starting from 3.5.0 before 3.5.17, all versions starting from 3.8.0 before 3.8.8, all versions starting from 3.9.0 before 3.9.5, all versions starting from 3.10.0 before 3.10.2

Fixed versions

  • 3.5.17
  • 3.8.8
  • 3.9.5
  • 3.10.2

Solution

Upgrade to versions 3.5.17, 3.8.8, 3.9.5, 3.10.2 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-20280.yml

Spotted a mistake? Edit the file on GitLab.

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

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