Description (CNA)
The WP ULike plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `[wp_ulike_likers_box]` shortcode `template` attribute in all versions up to, and including, 5.0.1. This is due to the use of `html_entity_decode()` on shortcode attributes without subsequent output sanitization, which effectively bypasses WordPress's `wp_kses_post()` content filtering. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The post must have at least one like for the XSS to render.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| alimir / WP ULike – Like & Dislike Buttons for Engagement and Feedback | affected 0 through 5.0.1 |
CWE
CWE-79
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/74a7db23-f91c-452b-bc24-58fda69caf17?source=cve
- https://plugins.trac.wordpress.org/browser/wp-ulike/trunk/includes/hooks/shortcodes.php#L209
- https://plugins.trac.wordpress.org/browser/wp-ulike/trunk/includes/functions/utilities.php#L251
- https://plugins.trac.wordpress.org/browser/wp-ulike/trunk/includes/functions/utilities.php#L226
- https://plugins.trac.wordpress.org/browser/wp-ulike/trunk/includes/functions/general.php#L375
- https://github.com/Alimir/wp-ulike/commit/3dcce696ea251b3733448332cc167e03b2a17c12
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3475381%40wp-ulike%2Ftrunk&old=3457255%40wp-ulike%2Ftrunk&sfp_email=&sfph_mail=
ADP enrichment
No English description supplied.
No references supplied.