Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
XSS requires victim interaction (UI:R) and shifts scope to the browser context (S:C); availability impact is omitted as XSS does not meaningfully disrupt service availability.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
Lifecycle Timeline
2DescriptionCVE.org
Unauthenticated Cross Site Scripting (XSS) in Facebook for WordPress <= 5.2.1 versions.
AnalysisAI
Cross-site scripting in the Facebook for WordPress plugin (versions up to and including 5.2.1) allows unauthenticated remote attackers to inject and execute arbitrary JavaScript in a victim's browser by delivering a crafted URL or page. The CVSS vector confirms no authentication is required (PR:N) and that the attack crosses into the victim's browser security context (S:C), enabling session hijacking, credential harvesting, or page defacement against any user who interacts with the malicious content. No public exploit code or CISA KEV listing has been identified at time of analysis, but the plugin's broad commercial deployment on WordPress sites significantly amplifies real-world exposure.
Technical ContextAI
The Facebook for WordPress plugin (CPE: cpe:2.3:a:facebook:facebook_for_wordpress:*:*:*:*:*:*:*:*) integrates Facebook Pixel and conversion-tracking functionality into WordPress sites, processing externally-supplied parameters and rendering them in page output. CWE-79 (Improper Neutralization of Input During Web Page Generation) identifies the root cause as insufficient sanitization or output encoding of attacker-controlled input before it is written into the HTML response. The CVSS Scope:Changed (S:C) metric is technically significant: it confirms that the impact boundary shifts from the vulnerable WordPress server component into the victim's browser trust domain, a defining characteristic of reflected or stored XSS where the payload executes under the origin of the target site rather than the attacker's.
RemediationAI
Update the Facebook for WordPress plugin to the version specified as fixed in the Patchstack advisory (https://patchstack.com/database/wordpress/plugin/official-facebook-pixel/vulnerability/wordpress-facebook-for-wordpress-plugin-5-2-1-cross-site-scripting-xss-vulnerability) as the primary remediation; the exact patched version number was not confirmed in the available data and must be verified before deploying. If an immediate plugin update is not feasible, deploying a WAF rule to filter common XSS patterns (script tags, javascript: URIs, inline event handlers) on the affected plugin endpoints can reduce exposure, though WAF bypass techniques are well-documented and this is not a substitute for patching. Sites that no longer use Facebook Pixel tracking can deactivate and remove the plugin entirely, eliminating the attack surface at the cost of losing conversion-tracking functionality. Implementing a strict Content-Security-Policy header (script-src 'self') at the server level limits the damage from any XSS execution by restricting which origins can load scripts, even if a bypass of the input filter is achieved.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-53908
GHSA-w2c9-5gcq-r387