Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2021-20280
PHP vulnerability analysis and mitigation

Overview

CVE-2021-20280 is a security vulnerability discovered in Moodle, affecting versions before 3.10.2, 3.9.5, 3.8.8, and 3.5.17. The vulnerability involves text-based feedback answers that required additional sanitizing to prevent stored Cross-Site Scripting (XSS) and blind Server-Side Request Forgery (SSRF) risks (Moodle Forum). The issue was reported by security researchers Holme and Rekter0 and was disclosed on March 15, 2021.

Technical details

The vulnerability has been assigned a CVSS v3.1 Base Score of 5.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N. The issue is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting) (NVD). The vulnerability specifically relates to insufficient sanitization of text-based feedback answers in the Moodle platform, which could lead to both stored XSS and blind SSRF attacks.

Impact

The vulnerability could allow attackers to execute stored XSS attacks and perform blind SSRF, potentially leading to unauthorized access to sensitive information and the ability to perform actions on behalf of other users. The severity was rated as 'Serious' by Moodle's security team (Moodle Forum).

Exploitability

The vulnerability requires an attacker to have low privileges and user interaction for successful exploitation. A proof-of-concept exploit has been documented (Packet Storm).

Mitigation and workarounds

The vulnerability has been fixed in Moodle versions 3.10.2, 3.9.5, 3.8.8, and 3.5.17. Users are advised to upgrade to these or later versions to mitigate the risk (Moodle Forum). The fix involves implementing additional sanitization for text-based feedback answers.

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-71537MEDIUM6.5
  • PHP logoPHP
  • paymenter/paymenter
NoYesSep 18, 2026
CVE-2026-77616MEDIUM6.1
  • PHP logoPHP
  • mediawiki/semantic-media-wiki
NoYesSep 18, 2026
CVE-2026-77610MEDIUM6.1
  • PHP logoPHP
  • mediawiki/semantic-media-wiki
NoYesSep 18, 2026
CVE-2026-77609MEDIUM6.1
  • PHP logoPHP
  • mediawiki/semantic-media-wiki
NoYesSep 18, 2026
CVE-2026-77608MEDIUM6.1
  • PHP logoPHP
  • mediawiki/semantic-media-wiki
NoYesSep 18, 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