# CVE-2021-24792: Shiny Buttons <= 1.1.0 - Unauthenticated Stored Cross-Site Scripting

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.19%, higher than 68% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-13T10:40:55.000Z
- Modified: 2026-06-17T03:40:54.957Z
- Weaknesses: CWE-79
- Assigned by: WPScan

## 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.

(As written by CVE List.)

## Affected

- Unknown Shiny Buttons – CSS3 Button Generator for WordPress: from 1.1.0 up to 1.1.0
- wpeden shiny_buttons: up to 1.1.0

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://wpscan.com/vulnerability/29514d8e-9d1c-4fb6-b378-f6b7374989ca> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2021-24792](https://www.cve.org/CVERecord?id=CVE-2021-24792), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-24792](https://nvd.nist.gov/vuln/detail/CVE-2021-24792), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-24792 · Whole record: https://cve.day/CVE-2021-24792.json · Rebuilt by cve.day 2026-11-25T22:58:05.937Z
