CVE-2021-24418 Smooth Scroll Page Up/Down Buttons <= 1.4 - Authenticated Stored XSS via psb_positioning

Medium 4.8 Published Updated

Authenticated admins can inject stored XSS payloads via plugin settings, executing scripts on all blog pages.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-24418?

CVE-2021-24418 is a medium-severity cross-site scripting vulnerability in Mark Senff Smooth Scroll Page Up/Down Buttons, published on 12 Jul 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

The Smooth Scroll Page Up/Down Buttons WordPress plugin through 1.4 does not properly sanitise and validate its psb_positioning settings, allowing high privilege users such as admin to set an XSS payload in it, which will be executed in all pages of the blog

Weakness: CWE-79

Which versions are affected by CVE-2021-24418?

It affects 1 product.

Products include Smooth Scroll Page Up\/Down Buttons Project Smooth Scroll Page Up\/Down Buttons.

How do I fix CVE-2021-24418?

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

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

Sources

Also known as GHSA-hv4v-qq65-xmfx.

Is CVE-2021-24418 in your software?

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

Check your SBOMs for free