CVE-2021-32476
PHP vulnerability analysis and mitigation

Overview

A denial-of-service vulnerability (CVE-2021-32476) was identified in the Moodle draft files area, affecting versions 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8, 3.5 to 3.5.17 and earlier unsupported versions. The vulnerability was discovered by Ben Samtleben and was fixed in versions 3.11, 3.10.4, 3.9.7, 3.8.9 and 3.5.18 (Moodle Forum).

Technical details

The vulnerability stems from the Files API not respecting user file upload limits in the draft files area, which could lead to resource exhaustion. The issue has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating network accessibility, low attack complexity, and no required privileges or user interaction (NVD).

Impact

The vulnerability could allow attackers to cause a denial-of-service condition by bypassing file upload limits in the draft files area, potentially leading to resource exhaustion and system unavailability (Moodle Forum).

Mitigation and workarounds

The recommended mitigation is to upgrade to one of the fixed versions: 3.11, 3.10.4, 3.9.7, 3.8.9, or 3.5.18. These versions implement proper file upload limit checks in the draft files area (Moodle Forum).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23492HIGH8.8
  • PHPPHP
  • pimcore/pimcore
NoYesJan 14, 2026
CVE-2026-23498HIGH7.2
  • PHPPHP
  • shopware/core
NoYesJan 14, 2026
GHSA-595p-g7xc-c333MEDIUM6.9
  • PHPPHP
  • algolia/algoliasearch-magento-2
NoYesJan 14, 2026
CVE-2022-50807MEDIUM6.9
  • PHPPHP
  • concrete5/concrete5
NoNoJan 13, 2026
CVE-2026-0859MEDIUM5.2
  • PHPPHP
  • typo3/cms-core
NoYesJan 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management