CVE-2022-35649 — Vulnerability in moodle/moodle — CVE Details
Moodle PostScript Code Injection
Summary
Advisory Timeline
- First published July 26, 2022 (1540 days ago).
- Last revised April 24, 2024 — 638 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "moodle/moodle:^4.0.2"
composer require "moodle/moodle:^3.9.15"
composer require "moodle/moodle:^3.11.8"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: packagist (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| moodle/moodle | packagist | v4.0.0, v4.0.0-beta, v4.0.0-rc1, v4.0.0-rc2 (+3 more) | 4.0.2 |
| moodle/moodle | packagist | v3.9.0, v3.9.0-beta, v3.9.0-rc1, v3.9.0-rc2 (+15 more) | 3.9.15 |
| moodle/moodle | packagist | v3.11.0, v3.11.0-beta, v3.11.0-rc1, v3.11.0-rc2 (+7 more) | 3.11.8 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-20Improper Input ValidationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-35649ADVISORY
- https://bugzilla.redhat.com/show_bug.cgi?id=2106273WEB
- https://github.com/moodle/moodlePACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6VWEB
- https://moodle.org/mod/forum/discuss.php?d=436456WEB
- https://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75044WEB
Frequently Asked Questions
- What is CVE-2022-35649?
- Moodle PostScript Code Injection This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2022-35649?
- CVE-2022-35649 affects moodle/moodle. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-35649 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2021-3943CRITICAL
Moodle vulnerable to RCE via unsafe deserialization
- CVE-2021-36393CRITICAL
Moodle SQL Injection vulnerability
- CVE-2019-3809CRITICAL
Moodle Blind SSRF Risk in /badges/mybackpack.php
- CVE-2022-40315CRITICAL
Moodle Minor SQL injection risk in admin user browsing
- CVE-2010-1615HIGH
Moodle vulnerable to SQL injection
- CVE-2025-3641HIGH
Moodle has an authenticated remote code execution risk in the Moodle LMS Dropbox repository
- CVE-2025-67848HIGH
Moodle authentication bypass vulnerability
- CVE-2025-3642HIGH
Moodle has an authenticated remote code execution risk in the Moodle LMS EQUELLA repository
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies