Social Warfare
CVE-2021-4434
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessScan for WordPress sites running Social Warfare ≤ 3.5.2
-
DeliverySend crafted HTTP request with malicious swp_url
-
ExploitPlugin fetches and executes attacker-controlled code
-
ExecutionGain PHP code execution as web server user
-
PersistDrop webshell and add rogue admin
-
ImpactPivot or deface site
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target WordPress site must have the Social Warfare plugin installed and activated at version 3.5.2 or earlier, and the plugin endpoint that processes the 'swp_url' parameter must be reachable over the network from the attacker. Per the CVSS vector (AV:N/AC:L/PR:N/UI:N), no authentication, no user interaction, and no special configuration beyond a default installation of the vulnerable plugin are required. Exploitation is limited only by whether the site still runs the abandoned/legacy ≤ 3.5.2 branch and by any WAF or network-level filtering that blocks outbound fetches or anomalous 'swp_url' values; sites that have updated past 3.5.2 or removed the plugin are not exposed. |
| Impact | All severity signals point in the same direction: the CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H describes a network-reachable, low-complexity, unauthenticated, no-user-interaction attack with scope change and total CIA impact - effectively worst-case. Publicly available exploit code lowers the skill barrier, and the EPSS score of 7.99% at the 92nd percentile is materially higher than typical CVEs and consistent with opportunistic mass scanning of WordPress endpoints. The vulnerability is not currently listed in CISA KEV, so there is no government-confirmed active exploitation, but the combination of trivially exploitable RCE, a widely deployed WordPress plugin, and existing PoC code means this should be treated as a high-priority issue rather than a theoretical risk. No conflicting signals were observed across the provided data. |
| Exploit ScenarioDerived | An unauthenticated attacker scans the internet for WordPress sites running Social Warfare ≤ 3.5.2 and sends a single crafted HTTP request to the vulnerable plugin endpoint with a malicious 'swp_url' value pointing to attacker-hosted payload content. The plugin fetches and evaluates that content as code on the server, giving the attacker arbitrary PHP/command execution as the web server user, which is typically used to drop a webshell, add a malicious admin user, or pivot to other sites on shared hosting. Publicly available exploit code makes this scenario achievable with off-the-shelf tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
Remote code execution in the Social Warfare WordPress plugin (versions ≤ 3.5.2) allows unauthenticated attackers to run arbitrary code on the server via the 'swp_url' parameter. Publicly available exploit code exists and the issue carries a maximum CVSS 10.0 with scope change, while the EPSS score of 7.99% (92nd percentile) signals meaningfully elevated exploitation interest. The flaw was reported by Wordfence and primarily threatens WordPress sites still running this abandoned/legacy plugin version.
RemediationAI
Upgrade the Social Warfare plugin to a version newer than 3.5.2 as published on the WordPress plugin repository; the input data does not specify an exact fix version, so Patch available per vendor advisory and administrators should verify the latest release directly from warfareplugins before deploying. If immediate upgrade is not possible, deactivate and remove the Social Warfare plugin entirely, which eliminates the vulnerable code path at the cost of losing social-sharing widgets on the site. As a temporary compensating control, use a WAF or web server rule (ModSecurity, Wordfence, Cloudflare) to block requests containing the 'swp_url' parameter to plugin endpoints, accepting that this may break legitimate plugin functionality, and restrict administrative and plugin endpoints by IP where feasible to reduce exposure until the plugin is updated or removed.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Social Warfare is a popular social-sharing plugin for WordPress published by warfareplugins. The CPE cpe:2.3:a:warfareplugins:social_warfare confirms the affected product line and the wordpress target platform. The root cause maps to CWE-94 (Improper Control of Generation of Code, i.e., Code Injection): the plugin processes the 'swp_url' parameter in a way that allows attacker-supplied content to be interpreted and executed as code on the server, almost certainly by fetching a remote payload and evaluating it within the PHP runtime. Because WordPress plugins run with full PHP privileges of the web server, code injection inside the plugin translates directly into arbitrary command execution in the WordPress context.
Know when Social Warfare gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
The Social Warfare plugin for WordPress is vulnerable to Remote Code Execution in versions up to, and including, 3.5.2 via the 'swp_url' parameter. This allows attackers to execute code on the server.
Executive ViewAI
The Social Warfare WordPress plugin (versions ≤ 3.5.2) contains a critical remote code execution vulnerability (CVSS 10.0) that unauthenticated attackers can exploit to execute arbitrary server code. Publicly available exploit code exists for this abandoned plugin, creating immediate threat to any organization still running affected versions. No vendor patch is available, requiring emergency deactivation and removal of the plugin from all WordPress installations.
Until plugin removal is complete: (1) Deploy WAF rules to block requests containing 'swp_url' parameter, (2) Disable or remove unused WordPress plugins and themes to reduce attack surface, (3) Restrict WordPress administrative access to VPN or allowlisted IP ranges, (4) Enable WordPress security monitoring to detect unauthorized file modifications or unusual database queries. These interim controls mitigate but do not eliminate the vulnerability-plugin removal is mandatory.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
More in Social Warfare
View allThe social-warfare plugin before 3.5.3 for WordPress has stored XSS via the wp-admin/admin-post.php?swp_debug=load_optio
The Social Warfare plugin for WordPress is vulnerable to authorization bypass due to a missing capability check on sever
The Social Warfare plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 4.
The Social Sharing Plugin - Social Warfare plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'social
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB