CVE-2021-24986 Post Grid < 2.1.16 - Reflected Cross-Site Scripting via keyword

Medium 6.1 Published Updated

Attackers can inject malicious scripts via the keyword parameter in Post Grid search forms, potentially compromising user sessions.

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-24986?

CVE-2021-24986 is a medium-severity cross-site scripting vulnerability in Unknown Post Grid, published on 11 Apr 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 Post Grid WordPress plugin before 2.1.16 does not escape the keyword parameter before outputting it back in an attribute, leading to a Reflected Cross-Site Scripting in pages containing a Post Grid with a search form

Weakness: CWE-79

Which versions are affected by CVE-2021-24986?

It affects 1 product.

Products include Pickplugins Post Grid.

How do I fix CVE-2021-24986?

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

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

Sources

Also known as GHSA-hgmh-vm7j-q2wp.

Is CVE-2021-24986 in your software?

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

Check your SBOMs for free