CVE-2026-66705

WordPress Facebook for WordPress plugin <= 5.2.1 - Cross Site Scripting (XSS) vulnerability

Published Aug 6, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
Unauthenticated Cross Site Scripting (XSS) in Facebook for WordPress <= 5.2.1 versions.

Analysis

AI-generated

Technical impact

The vulnerability is an unauthenticated cross‑site scripting flaw in the Facebook for WordPress plugin version 5.2.1 and earlier. The flaw resides in unsanitized input handling, enabling attackers to inject arbitrary JavaScript that executes in the context of any site visitor. This can lead to theft of user cookies, session hijacking, defacement, or the delivery of additional malicious payloads. The identified weakness is CWE‑79, reflecting failure to validate or encode user input.

Affected Systems

The affected product is Facebook’s "Facebook for WordPress" plugin installed in WordPress sites. Versions 5.2.1 and earlier are vulnerable. Any site running these versions of the plugin with the default configuration is affected, regardless of user role or authentication status.

Risk and Exploitability

The CVSS v3 score of 7.1 indicates a significant risk. The EPSS metric is not available, and the vulnerability is not listed in the CISA KEV catalog. Because the flaw is exploitable without authentication, the attack vector is likely to be the Web; an attacker can target any visitor who accesses the site, possibly delivering malicious scripts via the plugin’s input fields or URL parameters. The impact is client‑side malware injection, with potential for credential compromise, account takeover, or defacement, and the overall risk is moderate to high especially for sites that rely heavily on the plugin for social integration.

Remediation

Vendor Solution

Update the WordPress Facebook for WordPress Plugin to the latest available version (at least 5.2.2).


OpenCVE Recommended Actions

  • Upgrade the Facebook for WordPress plugin to version 5.2.2 or later
  • If the plugin is required, implement strict input validation and output encoding on any user‑supplied content before it is rendered in the plugin, following WordPress best practices (e.g., sanitize_text_field and esc_html)
  • Disable or remove the plugin from sites that no longer need it, or limit its functionality to authenticated users only to reduce the risk surface

Generated by OpenCVE AI on August 6, 2026 at 16:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Facebook
Facebook facebook For Wordpress
Wordpress
Wordpress wordpress
Vendors & Products Facebook
Facebook facebook For Wordpress
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Unauthenticated Cross Site Scripting (XSS) in Facebook for WordPress <= 5.2.1 versions.
Title WordPress Facebook for WordPress plugin <= 5.2.1 - Cross Site Scripting (XSS) vulnerability
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Aug 6, 2026, 3:04 PM
Reserved
Jul 27, 2026, 2:01 PM
Status
Deferred
Published
Aug 6, 2026, 3:17 PM
Modified
Oct 24, 2026, 4:10 PM