Like Button Rating ♥ LikeBtn <= 2.6.64 - Unauthenticated Stored Cross-Site Scripting via Client-IP Header
- ID
- WPSEC-2026-2130
- Plugin
- Like Button Rating ♥ LikeBtn (likebtn-like-button)
- Affected
- all versions before 2.6.65
- Remediation
- Update to 2.6.65 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-30
- Attack surface
- Like Button Rating ♥ LikeBtn on WPSec AttackSurface
- Fix released
- Published
Also published later by Wordfence as CVE-2026-116552, on 2026-10-30.
Description
The Like Button Rating ♥ LikeBtn plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Client-IP and X-Forwarded-For HTTP headers in all versions up to, and including, 2.6.64. This is due to the visitor IP being taken from client-controlled headers without validation, stored with each vote, and output in the admin votes table inside a javascript: URL where esc_attr does not prevent breaking out of the JavaScript string. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute when an administrator clicks the IP link in the votes list. Exploitation requires the stored IP to be shown unhashed, i.e. GDPR compliance mode is not enabled.
References
- https://wpsec.com/vuln/WPSEC-2026-2130/
- https://plugins.svn.wordpress.org/likebtn-like-button/tags/2.6.65/
- https://wordpress.org/plugins/likebtn-like-button/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS