CVE-2021-24764 Perfect Survey < 1.5.2 - Reflected Cross-Site Scripting

Medium 6.1 Published Updated

Reflected Cross-Site Scripting in the Perfect Survey WordPress plugin allows attackers to inject malicious scripts into the admin dashboard via unsanitized parameters.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-24764?

CVE-2021-24764 is a medium-severity cross-site scripting vulnerability in n/a, published on 1 Feb 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The Perfect Survey WordPress plugin before 1.5.2 does not sanitise and escape multiple parameters (id and filters[session_id] of single_statistics page, type and message of importexport page) before outputting them back in pages/attributes in the admin dashboard, leading to Reflected Cross-Site Scripting issues

Weakness: CWE-79

Which versions are affected by CVE-2021-24764?

It affects 1 product.

Products include Getperfectsurvey Perfect Survey.

How do I fix CVE-2021-24764?

No fix has been published for CVE-2021-24764 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2021-24764 being exploited?

There is no known exploitation of CVE-2021-24764 in the wild and no public exploit code.

Sources

Also known as GHSA-c6wf-r6hx-jvrc.

Is CVE-2021-24764 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free