### [CVE-2021-24792](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24792) ![](https://img.shields.io/static/v1?label=Product&message=Shiny%20Buttons%20%E2%80%93%20CSS3%20Button%20Generator%20for%20WordPress&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=1.1.0%3C%3D%201.1.0%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brighgreen) ### 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. ### POC #### Reference - https://wpscan.com/vulnerability/29514d8e-9d1c-4fb6-b378-f6b7374989ca #### Github No PoCs found on GitHub currently.