CVE-2021-24478 Bookshelf <= 2.0.4 - Authenticated Stored Cross-Site Scripting (XSS)

Medium 5.4 Published Updated

Authenticated attackers can inject malicious scripts via the PayPal email setting in the Bookshelf WordPress plugin, potentially compromising user 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-24478?

CVE-2021-24478 is a medium-severity cross-site scripting vulnerability in Unknown Bookshelf, published on 2 Aug 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 Bookshelf WordPress plugin through 2.0.4 does not sanitise or escape its "Paypal email address" setting before outputting it in the page, leading to an authenticated Stored Cross-Site Scripting issue

Weakness: CWE-79

Which versions are affected by CVE-2021-24478?

It affects 1 product.

Products include Bookshelf Project Bookshelf.

How do I fix CVE-2021-24478?

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

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

Sources

Also known as GHSA-7hv3-9hqr-c553.

Is CVE-2021-24478 in your software?

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

Check your SBOMs for free