CVE-2020-27852
PHP vulnerability analysis and mitigation

Overview

A stored Cross-Site Scripting (XSS) vulnerability in the survey feature in Rocketgenius Gravity Forms before version 2.4.21 allows remote attackers to inject arbitrary web script or HTML via a textarea field. This vulnerability, identified as CVE-2020-27852, was disclosed on January 19, 2021. The injected code is interpreted by users in privileged roles such as Administrator or Editor (NVD).

Technical details

The vulnerability exists in the survey feature of Gravity Forms, specifically affecting versions prior to 2.4.21. It allows attackers to perform stored XSS attacks by injecting malicious code through textarea fields. The vulnerability requires low privileges to exploit and user interaction is required for successful exploitation (AttackerKB).

Impact

When successfully exploited, this vulnerability allows attackers to inject arbitrary web script or HTML that gets executed when viewed by users with privileged roles (Administrator, Editor, etc.). This could potentially lead to unauthorized actions being performed with administrative privileges (NVD).

Exploitability

The vulnerability requires low privileges to exploit and user interaction is necessary. The attack vector is through the network, and the attacker needs to have access to submit form data through the textarea field (AttackerKB).

Mitigation and workarounds

The primary mitigation is to upgrade Gravity Forms to version 2.4.21 or later, which contains the security fix for this vulnerability (NVD).

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

GHSA-wg23-69c2-gjc8CRITICAL9.1
  • PHP logoPHP
  • craftcms/cms
NoYesAug 07, 2026
CVE-2026-71488HIGH7.5
  • PHP logoPHP
  • php-league-commonmark
NoYesAug 06, 2026
CVE-2026-62996MEDIUM6.9
  • PHP logoPHP
  • smarty/smarty
NoYesAug 07, 2026
CVE-2026-62992MEDIUM6.9
  • PHP logoPHP
  • smarty/smarty
NoYesAug 07, 2026
CVE-2026-71478MEDIUM6.1
  • PHP logoPHP
  • league/commonmark
NoYesAug 06, 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