# CVE-2021-24765: Perfect Survey < 1.5.2 - Unauthenticated Stored Cross-Site Scripting

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.43%, higher than 73% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-02-01T12:21:25.000Z
- Modified: 2026-06-17T03:40:52.187Z
- Weaknesses: CWE-79
- Assigned by: WPScan

## Description

The Perfect Survey WordPress plugin through 1.5.2 does not validate and escape the X-Forwarded-For header value before outputting it in the statistic page when the Anonymize IP setting of a survey is turned off, leading to a Stored Cross-Site Scripting issue

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- getperfectsurvey perfect_survey: before 1.5.2

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://wpscan.com/vulnerability/4440e7ca-1a55-444d-8f6c-04153302d750> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2021-24765](https://www.cve.org/CVERecord?id=CVE-2021-24765), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-24765](https://nvd.nist.gov/vuln/detail/CVE-2021-24765), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-24765 · Whole record: https://cve.day/CVE-2021-24765.json · Rebuilt by cve.day 2026-11-25T22:58:06.737Z
