CVE-2021-24850 Insert Pages < 3.7.0 - Contributor+ Stored Cross-Site Scripting

Medium 5.4 Published Updated

Contributors can inject malicious scripts via custom fields in the Insert Pages plugin, potentially compromising other users' sessions.

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

CVE-2021-24850 is a medium-severity cross-site scripting vulnerability in Unknown Insert Pages, published on 17 Nov 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 Insert Pages WordPress plugin before 3.7.0 adds a shortcode that prints out other pages' content and custom fields. It can be used by users with a role as low as Contributor to perform Cross-Site Scripting attacks by storing the payload/s in another post's custom fields.

Weakness: CWE-79

Which versions are affected by CVE-2021-24850?

It affects 1 product.

Products include Insert Pages Project Insert Pages.

How do I fix CVE-2021-24850?

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

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

Sources

Also known as GHSA-qg2h-c753-hvx6.

Is CVE-2021-24850 in your software?

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

Check your SBOMs for free