2026-10-30 17:15CVE-2026-116552Wordfence
PUBLISHED5.2CWE-79

Like Button Rating ♥ LikeBtn <= 2.6.64 - Unauthenticated Stored Cross-Site Scripting via 'Client-IP' Header

The Like Button Rating ♥ LikeBtn plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'HTTP_CLIENT_IP (Client-IP header)' parameter in all versions up to, and including, 2.6.64 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires the site administrator to have disabled the default 'Be GDPR compliant' option, which would otherwise hash stored IP values and neutralize the payload. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.

Problem type

Affected products

likebtn

Like Button Rating ♥ LikeBtn

<= 2.6.64 - AFFECTED

References

GitHub Security Advisories

GHSA-4v84-f6r5-m2gf

The Like Button Rating ♥ LikeBtn plugin for WordPress is vulnerable to Stored Cross-Site...

https://github.com/advisories/GHSA-4v84-f6r5-m2gf

The Like Button Rating ♥ LikeBtn plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'HTTP_CLIENT_IP (Client-IP header)' parameter in all versions up to, and including, 2.6.64 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires the site administrator to have disabled the default 'Be GDPR compliant' option, which would otherwise hash stored IP values and neutralize the payload. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-116552
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-116552",
    "assignerOrgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
    "assignerShortName": "Wordfence",
    "dateUpdated": "2026-10-30T17:26:01.617Z",
    "dateReserved": "2026-10-26T14:42:58.817Z",
    "datePublished": "2026-10-30T17:15:26.489Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
        "shortName": "Wordfence",
        "dateUpdated": "2026-10-30T17:15:26.489Z"
      },
      "title": "Like Button Rating ♥ LikeBtn <= 2.6.64 - Unauthenticated Stored Cross-Site Scripting via 'Client-IP' Header",
      "descriptions": [
        {
          "lang": "en",
          "value": "The Like Button Rating ♥ LikeBtn plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'HTTP_CLIENT_IP (Client-IP header)' parameter in all versions up to, and including, 2.6.64 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires the site administrator to have disabled the default 'Be GDPR compliant' option, which would otherwise hash stored IP values and neutralize the payload. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own."
        }
      ],
      "affected": [
        {
          "vendor": "likebtn",
          "product": "Like Button Rating ♥ LikeBtn",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "2.6.64"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-79 Improper Neutralization of Input During Web Page Generation",
              "cweId": "CWE-79",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/4816d767-89fe-403f-ac67-70235d78ce24?source=cve"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/likebtn-like-button/tags/2.6.64/includes/tab_votes.php#L285"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/likebtn-like-button/tags/2.6.64/likebtn_like_button.php#L7765"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/likebtn-like-button/tags/2.6.64/likebtn_like_button.php#L6968"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/likebtn-like-button/tags/2.6.64/likebtn_like_button.php#L6858"
        },
        {
          "url": "https://plugins.trac.wordpress.org/changeset?reponame=&new=3773664%40likebtn-like-button%2Ftags%2F2.6.65&old=3665718%40likebtn-like-button%2Ftags%2F2.6.64"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
            "baseScore": 4.7,
            "baseSeverity": "MEDIUM"
          }
        }
      ],
      "timeline": [
        {
          "time": "2026-10-29T17:14:58.000Z",
          "lang": "en",
          "value": "Vendor Notified"
        },
        {
          "time": "2026-10-30T17:09:08.000Z",
          "lang": "en",
          "value": "Disclosed"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "GivMeInJ",
          "type": "finder"
        }
      ]
    },
    "adp": [
      {
        "providerMetadata": {
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP",
          "dateUpdated": "2026-10-30T17:26:01.617Z"
        },
        "title": "CISA ADP Vulnrichment",
        "metrics": [
          {}
        ]
      }
    ]
  }
}