Vulnerability · Published Mar 11, 2026 · Assigned by Wordfence
CVE-2026-2358WP ULike <= 5.0.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attribute
Medium 6.4
In plain English
A medium-severity cross-site scripting in WP ULike – Like & Dislike Buttons for Engagement and Feedback from alimir. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| alimir | WP ULike – Like & Dislike Buttons for Engagement and Feedback | 0 – through 5.0.1 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
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=