CVE-2021-36872 WordPress Popular Posts plugin <= 5.3.3 - Authenticated Persistent Cross-Site Scripting (XSS) vulnerability

Medium 5.5 Published Updated

Authenticated attackers can inject persistent scripts via the post_type widget parameter, potentially hijacking user sessions.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-36872?

CVE-2021-36872 is a medium-severity cross-site scripting vulnerability in Hector Cabrera WordPress Popular Posts, published on 23 Sep 2021. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Authenticated Persistent Cross-Site Scripting (XSS) vulnerability in WordPress Popular Posts plugin (versions <= 5.3.3). Vulnerable at &widget-wpp[2][post_type].

Weakness: CWE-79

Which versions are affected by CVE-2021-36872?

It affects 1 product.

Products include Wordpress Popular Posts Project Wordpress Popular Posts.

How do I fix CVE-2021-36872?

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

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

Sources

Also known as GHSA-4g64-jfhc-95g2.

Is CVE-2021-36872 in your software?

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

Check your SBOMs for free