CVE-2023-28666 Cross-site scripting in InPost Gallery WordPress Plugin

Medium 5.4 Published Updated

An authenticated attacker can execute arbitrary scripts via a reflected XSS vulnerability in the InPost Gallery 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-2023-28666?

CVE-2023-28666 is a medium-severity cross-site scripting vulnerability in InPost Gallery WordPress Plugin, published on 22 Mar 2023. 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 InPost Gallery WordPress plugin, in versions < 2.2.2, is affected by a reflected cross-site scripting vulnerability in the 'imgurl' parameter to the add_inpost_gallery_slide_item action, which can only be triggered by an authenticated user.

Weakness: CWE-79

Which versions are affected by CVE-2023-28666?

It affects 1 product.

Products include Pluginus Inpost Gallery.

How do I fix CVE-2023-28666?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-28666 exists.

Sources

Also known as GHSA-pg65-5772-9qx6.

Is CVE-2023-28666 in your software?

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

Check your SBOMs for free