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

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

July 25, 2022 (updated November 7, 2023)

A stored XSS and blind SSRF vulnerability was found in Moodle, occurs due to insufficient sanitization of user-supplied data in the SCORM track details. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user’s browser in context of vulnerable website to steal potentially sensitive information, change appearance of the web page, can perform phishing and drive-by-download attacks.

References

  • moodle.org/mod/forum/discuss.php?d=436458
  • nvd.nist.gov/vuln/detail/CVE-2022-35651

Code Behaviors & Features

Detect and mitigate CVE-2022-35651 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.9.0 before 3.9.15, all versions starting from 3.11.0 before 3.11.8, version 4.0.0

Fixed versions

  • 3.9.15
  • 3.11.8
  • 4.0.1

Solution

Upgrade to versions 3.9.15, 3.11.8, 4.0.1 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/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-2022-35651.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Fri, 05 Dec 2025 00:21:03 +0000.