The plugin does not escape the value of its Button Text setting when outputting it in an attribute in the frontend, allowing high privilege users such as admin to perform Cross-Site Scripting even when the unfiltered_html capability is disallowed.
Put the following payload in the Button text setting of the plugin (in the Notice Setting section) " style=animation-name:twentytwentyone-close-button-transition onanimationend=alert(/XSS/)// "onmouseover=alert(/XSS/)// Then go on any page of the frontend to trigger the XSS (which may require some user interaction depending on the payload/theme used)
Asif Nawaz Minhas
Asif Nawaz Minhas
Yes
2021-08-30 (about 1 years ago)
2021-08-30 (about 1 years ago)
2023-04-12 (about 1 months ago)