Read the docs
TI-2022-22225 Aliases CVE-2022-45151GHSA-xv72-6pgh-cjj8

Cross-site scripting in Moodle

Priority LOW 26CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
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 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

The stored-XSS vulnerability was discovered in Moodle which exists due to insufficient sanitization of user-supplied data in several "social" user profile fields. An attacker could inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00712 53rd percentileScored 2026-11-07
Fix Fixed moodle/moodle (Packagist): 3.11.11, 4.0.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—MoodleFixed in moodle 4.0.5, moodle 3.11.11—No fix listedCNA
—moodle/moodle (Packagist)3.11 to before 3.11.113.11.11Patch availableGHSA-xv72-6pgh-cjj8
—moodle/moodle (Packagist)4.0 to before 4.0.54.0.5Patch availableGHSA-xv72-6pgh-cjj8
  • Moodle Vendor— Affected Fixed in moodle 4.0.5, moodle 3.11.11 Fixed in — No fix listed CNA
  • moodle/moodle (Packagist) Vendor— Affected 3.11 to before 3.11.11 Fixed in 3.11.11 Patch available GHSA-xv72-6pgh-cjj8
  • moodle/moodle (Packagist) Vendor— Affected 4.0 to before 4.0.5 Fixed in 4.0.5 Patch available GHSA-xv72-6pgh-cjj8

CPE configurations NVD · 4

CPEVersionsRoleVendor
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*3.11.0 to before 3.11.11; 4.0.0 to before 4.0.5VulnerableMoodle
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*35VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*36VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*37VulnerableFedoraproject
  • cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* Versions 3.11.0 to before 3.11.11; 4.0.0 to before 4.0.5 Vulnerable ·Moodle
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Versions 37 Vulnerable ·Fedoraproject

Remediation

  • Fix · GHSA-xv72-6pgh-cjj8 moodle/moodle (Packagist) Fixed in 3.11.11 Advisory →
  • Fix · GHSA-xv72-6pgh-cjj8 moodle/moodle (Packagist) Fixed in 4.0.5 Advisory →

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-45151
  2. 2026-10-03 Alias added: GHSA-xv72-6pgh-cjj8

References

Sources