CVE-2021-24792 Shiny Buttons <= 1.1.0 - Unauthenticated Stored Cross-Site Scripting
Unauthenticated attackers can inject malicious scripts via unsanitized template inputs, leading to stored XSS in the admin dashboard.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-24792?
CVE-2021-24792 is a medium-severity cross-site scripting vulnerability in Unknown Shiny Buttons – CSS3 Button Generator for WordPress, published on 13 Dec 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The Shiny Buttons WordPress plugin through 1.1.0 does not have any authorisation and CSRF in place when saving a template (wpbtn_save_template function hooked to the init action), nor sanitise and escape them before outputting them in the admin dashboard, which allow unauthenticated users to add a malicious template and lead to Stored Cross-Site Scripting issues.
Weakness: CWE-79
Which versions are affected by CVE-2021-24792?
It affects 1 product.
Products include Wpeden Shiny Buttons.
How do I fix CVE-2021-24792?
No fix has been published for CVE-2021-24792 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-24792 being exploited?
There is no known exploitation of CVE-2021-24792 in the wild and no public exploit code.
Sources
Also known as GHSA-m65r-7jgg-xwhp.