PT-2022-9461 · WordPress · The Perfect Survey

Apple502J

·

Published

2022-02-01

·

Updated

2022-02-04

·

CVE-2021-24765

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions The Perfect Survey WordPress plugin versions 1.5.2 and earlier
Description The issue arises from the lack of validation and escaping of the X-Forwarded-For header value before it is outputted in the statistic page. This occurs when the Anonymize IP setting of a survey is turned off, leading to a Stored Cross-Site Scripting issue.
Recommendations For versions 1.5.2 and earlier, update to a version that properly validates and escapes the X-Forwarded-For header value to prevent Stored Cross-Site Scripting. As a temporary workaround, consider turning on the Anonymize IP setting for all surveys until a patch is available.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-24765

Affected Products

The Perfect Survey