CVE-2021-24605 Custom Post View Generator <= 0.4.6 - Reflected Cross-Site Scripting

Medium 5.4 Published Updated

Authenticated attackers can inject malicious scripts via the create_post_page AJAX action in the Custom Post View Generator WordPress plugin.

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

What is CVE-2021-24605?

CVE-2021-24605 is a medium-severity cross-site scripting vulnerability in Unknown Custom Post View Generator, published on 13 Sep 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The create_post_page AJAX action of the Custom Post View Generator WordPress plugin through 0.4.6 (available to authenticated user) does not sanitise or escape user input before outputting it back in the response, leading to a Reflected Cross-Site issue

Weakness: CWE-79

Which versions are affected by CVE-2021-24605?

It affects 1 product.

Products include Custom Post View Generator Project Custom Post View Generator.

How do I fix CVE-2021-24605?

No fix has been published for CVE-2021-24605 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-24605 being exploited?

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

Sources

Also known as GHSA-5hqx-qwqq-6xmq.

Is CVE-2021-24605 in your software?

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

Check your SBOMs for free