Description
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.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
* (semver)
Timeline
| 2026-02-11: | Vendor Notified |
| 2026-03-10: | Disclosed |
Credits
Quốc Huy
References
www.wordfence.com/...-f91c-452b-bc24-58fda69caf17?source=cve
plugins.trac.wordpress.org/.../includes/hooks/shortcodes.php
plugins.trac.wordpress.org/...cludes/functions/utilities.php
plugins.trac.wordpress.org/...cludes/functions/utilities.php
plugins.trac.wordpress.org/...includes/functions/general.php
github.com/...ommit/3dcce696ea251b3733448332cc167e03b2a17c12
plugins.trac.wordpress.org/...%2Ftrunk&sfp_email=&sfph_mail=