CVE-2021-24331 Smooth Scroll Page Up/Down Buttons < 1.4 - Authenticated Stored XSS
Authenticated admins can inject XSS payloads via plugin settings, potentially leading to code execution in the admin interface.
- 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-24331?
CVE-2021-24331 is a medium-severity cross-site scripting vulnerability in Unknown Smooth Scroll Page Up/Down Buttons, published on 1 Jun 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 before 1.4 did not properly sanitise and validate its settings, such as psb_distance, psb_buttonsize, psb_speed, only validating them client side. This could allow high privilege users (such as admin) to set XSS payloads in them
Weakness: CWE-79
Which versions are affected by CVE-2021-24331?
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-24331?
No fix has been published for CVE-2021-24331 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-24331 being exploited?
There is no known exploitation of CVE-2021-24331 in the wild and no public exploit code.
Other vulnerabilities in Unknown Smooth Scroll Page Up/Down Buttons
Sources
Also known as GHSA-7mh2-3h46-3mff.