Read the docs
TI-2022-16117 Aliases CVE-2022-35651GHSA-wwv7-h477-wrv7

Cross-site scripting in Moodle

Priority LOW 29CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

EPSS 0.01077 65th percentileScored 2026-11-07
Fix Fixed moodle/moodle (Packagist): 3.9.15, 3.11.8, 4.0.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—MoodleFixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15—No fix listedCNA
—moodle/moodle (Packagist)3.9 to before 3.9.153.9.15Patch availableGHSA-wwv7-h477-wrv7
—moodle/moodle (Packagist)3.11 to before 3.11.83.11.8Patch availableGHSA-wwv7-h477-wrv7
—moodle/moodle (Packagist)4.0 to before 4.0.24.0.2Patch availableGHSA-wwv7-h477-wrv7
  • Moodle Vendor— Affected Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15 Fixed in — No fix listed CNA
  • moodle/moodle (Packagist) Vendor— Affected 3.9 to before 3.9.15 Fixed in 3.9.15 Patch available GHSA-wwv7-h477-wrv7
  • moodle/moodle (Packagist) Vendor— Affected 3.11 to before 3.11.8 Fixed in 3.11.8 Patch available GHSA-wwv7-h477-wrv7
  • moodle/moodle (Packagist) Vendor— Affected 4.0 to before 4.0.2 Fixed in 4.0.2 Patch available GHSA-wwv7-h477-wrv7

CPE configurations NVD · 11

CPEVersionsRoleVendor
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*3.9.0 to before 3.9.15; 3.11.0 to before 3.11.8VulnerableMoodle
cpe:2.3:a:moodle:moodle:4.0.0:-:*:*:*:*:*:*4.0.0VulnerableMoodle
cpe:2.3:a:moodle:moodle:4.0.0:beta:*:*:*:*:*:*4.0.0 betaVulnerableMoodle
cpe:2.3:a:moodle:moodle:4.0.0:rc1:*:*:*:*:*:*4.0.0 rc1VulnerableMoodle
cpe:2.3:a:moodle:moodle:4.0.0:rc2:*:*:*:*:*:*4.0.0 rc2VulnerableMoodle
cpe:2.3:a:moodle:moodle:4.0.0:rc3:*:*:*:*:*:*4.0.0 rc3VulnerableMoodle
cpe:2.3:a:moodle:moodle:4.0.0:rc4:*:*:*:*:*:*4.0.0 rc4VulnerableMoodle
cpe:2.3:a:moodle:moodle:4.0.1:*:*:*:*:*:*:*4.0.1VulnerableMoodle
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:-:*:*:*8.0VulnerableRed Hat
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*35VulnerableFedoraproject
  • cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* Versions 3.9.0 to before 3.9.15; 3.11.0 to before 3.11.8 Vulnerable ·Moodle
  • cpe:2.3:a:moodle:moodle:4.0.0:-:*:*:*:*:*:* Versions 4.0.0 Vulnerable ·Moodle
  • cpe:2.3:a:moodle:moodle:4.0.0:beta:*:*:*:*:*:* Versions 4.0.0 beta Vulnerable ·Moodle
  • cpe:2.3:a:moodle:moodle:4.0.0:rc1:*:*:*:*:*:* Versions 4.0.0 rc1 Vulnerable ·Moodle
  • cpe:2.3:a:moodle:moodle:4.0.0:rc2:*:*:*:*:*:* Versions 4.0.0 rc2 Vulnerable ·Moodle
  • cpe:2.3:a:moodle:moodle:4.0.0:rc3:*:*:*:*:*:* Versions 4.0.0 rc3 Vulnerable ·Moodle
  • cpe:2.3:a:moodle:moodle:4.0.0:rc4:*:*:*:*:*:* Versions 4.0.0 rc4 Vulnerable ·Moodle
  • cpe:2.3:a:moodle:moodle:4.0.1:*:*:*:*:*:*:* Versions 4.0.1 Vulnerable ·Moodle
  • cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:-:*:*:* Versions 8.0 Vulnerable ·Red Hat
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
Show 1 more CPE
CPEVersionsRoleVendor
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*36VulnerableFedoraproject
  • cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject

Remediation

  • Fix · GHSA-wwv7-h477-wrv7 moodle/moodle (Packagist) Fixed in 3.9.15 Advisory →
  • Fix · GHSA-wwv7-h477-wrv7 moodle/moodle (Packagist) Fixed in 3.11.8 Advisory →
  • Fix · GHSA-wwv7-h477-wrv7 moodle/moodle (Packagist) Fixed in 4.0.2 Advisory →

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    Moodle — FEDORA-2022-81ce74b2dd

    5 records Highest priority Priority HIGH 1 HIGH, 1 MEDIUM, 3 LOW

    Other records, highest priority first

  • Advisory ·

    Moodle — FEDORA-2022-7e7ce7df2e

    5 records Highest priority Priority HIGH 1 HIGH, 1 MEDIUM, 3 LOW

    Other records, highest priority first

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-35651
  2. 2026-10-03 Alias added: GHSA-wwv7-h477-wrv7

References

Sources