CVE-2019-9978: WordPress Social Warfare Plugin Cross-Site Scripting (XSS) Vulnerability
WordPress · Social Warfare Plugin · NVD published 2019-03-24 · posted 2021-11-03 · last modified 2026-06-17
What it is
The social-warfare plugin before 3.5.3 for WordPress has stored XSS via the wp-admin/admin-post.php?swp_debug=load_options swp_url parameter, as exploited in the wild in March 2019. This affects Social Warfare and Social Warfare Pro.
| Weakness | CWE-79 |
|---|---|
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (source: [email protected]) |
| CISA due date | 2022-05-03 (for US federal agencies under BOD; a good deadline for everyone) |
| ATT&CK tactics | Initial Access → Execution |
Exploitation evidence
First exploit evidence seen: 2019-03-25 (earliest date across the sources below).
Exploited in the wild
- CISA KEV: listed since 2021-11-03. Source
Public exploit code
Exploit-DB
- EDB-46794: WordPress Plugin Social Warfare < 3.5.3 - Remote Code Execution (2019-05-03)
- EDB-52346: Social Warfare WordPress Plugin 3.5.2 - Remote Code Execution (RCE) (2025-06-26)
GitHub proof-of-concept repositories
17 public repositories from 16 accounts, first seen 2019-03-25. Most starred: hash3liZer/CVE-2019-9978 (22 stars), view repository.
Verify before running: public PoCs can be malicious. Read the code and only run it in an isolated lab. A PoC means exploit code is public, not that this CVE is exploited in the wild.
Sources: CISA KEV · Exploit-DB (OffSec) · nomi-sec/PoC-in-GitHub.
Defend the Chain
The attack chain for CVE-2019-9978 laid across the MITRE ATT&CK Enterprise tactics. Solid cards come from the MITRE CTID KEV mappings; dashed cards are inferred by CVERadar from the CWE or description. Correct defences are real ATT&CK mitigations for that technique.
Pick a red technique card on the board, then choose the defence that stops it.
Defend against T1189 Drive-by Compromise Inferred
Inferred from CWE CWE-79
How to fix it
CISA required action
Apply updates per vendor instructions. (source: CISA KEV)
Fixed versions
- warfareplugins social warfare: upgrade to 3.5.3 or later
- warfareplugins social warfare pro: upgrade to 3.5.3 or later
Derived from the NVD CPE configuration (versionEndExcluding / versionEndIncluding). Always confirm with the vendor advisory.
Vendor advisories and patches
MITRE ATT&CK mitigations for this chain
- M1050 Exploit Protection (for T1189) : Security applications that look for behavior used during exploitation such as Windows Defender Exploit Guard (WDEG) and the Enhanced Mitigation Experience Toolkit (EMET) can be used to mitigate some exploitation behavior. Control flow integrity checking is another way to potentially identify and stop a software exploit
- M1051 Update Software (for T1189) : Ensuring that all browsers and plugins are kept updated can help prevent the exploit phase of this technique. Use modern browsers with security features turned on.
- M1048 Application Isolation and Sandboxing (for T1189) : Browser sandboxes can be used to mitigate some of the impact of exploitation, but sandbox escapes may still exist. Other types of virtualization and application microsegmentation may also mitigate the impact of client-side exploitation. The risks of additional exploits and weaknesses in implementation may still exist
- M1021 Restrict Web-Based Content (for T1189, T1059.007) : Adblockers can help prevent malicious code served through ads from executing in the first place. Script blocking extensions can also help to prevent the execution of JavaScript. Consider disabling browser push notifications from certain applications and browsers.
- M1017 User Training (for T1189) : Train users to be aware of access or manipulation attempts by an adversary to reduce the risk of successful spearphishing, social engineering, and other techniques that involve user interaction.
- M1040 Behavior Prevention on Endpoint (for T1059.007) : On Windows 10, enable Attack Surface Reduction (ASR) rules to prevent [JavaScript](https://attack.mitre.org/techniques/T1059/007) scripts from executing potentially malicious downloaded content .
- M1038 Execution Prevention (for T1059.007) : Denylist scripting where appropriate.
- M1042 Disable or Remove Feature or Program (for T1059.007) : Turn off or restrict access to unneeded scripting components.
Detection Generic guidance
- Initial Access: Alert on unusual requests to the affected service (odd paths, oversized payloads, exploit strings) in WAF, reverse-proxy and application logs.
- Execution: Watch for the service process spawning shells or script interpreters (cmd.exe, powershell, sh, bash, python) via EDR process-tree rules.
Response checklist Generic guidance
- Inventory: find every instance of the affected product and version (include internet-facing and forgotten ones).
- Patch or mitigate per the vendor advisory; if you cannot patch, remove internet exposure or apply the vendor workaround.
- Assume compromise if the system was exposed before patching: hunt for the indicators in the advisory and review logs back to the disclosure date.
- Rotate credentials and secrets stored on or used by the affected system if compromise cannot be ruled out.
Sources
- NVD: CVE-2019-9978
- CVE.org record
- CISA Known Exploited Vulnerabilities catalog
- FIRST EPSS (2026-10-24)
- http://packetstormsecurity.com/files/152722/Wordpress-Social-Warfare-Remote-Code-Execution.html (Exploit, Third Party Advisory, VDB Entry)
- http://packetstormsecurity.com/files/163680/WordPress-Social-Warfare-3.5.2-Remote-Code-Execution.html (Exploit, Third Party Advisory, VDB Entry)
- https://blog.sucuri.net/2019/03/zero-day-stored-xss-in-social-warfare.html (Exploit, Third Party Advisory)
- https://twitter.com/warfareplugins/status/1108852747099652099 (Third Party Advisory)
- https://wordpress.org/plugins/social-warfare/#developers (Product)
- https://wpvulndb.com/vulnerabilities/9238 (Broken Link, Third Party Advisory)
- https://www.cybersecurity-help.cz/vdb/SB2019032105 (Exploit, Third Party Advisory)
- https://www.exploit-db.com/exploits/46794/ (Third Party Advisory, VDB Entry)
- https://www.pluginvulnerabilities.com/2019/03/21/full-disclosure-of-settings-change-persistent-cross-site-scripting-xss-vulnerability-in-social-warfare/ (Exploit, Third Party Advisory)
- https://www.wordfence.com/blog/2019/03/unpatched-zero-day-vulnerability-in-social-warfare-plugin-exploited-in-the-wild/ (Third Party Advisory)
- http://seclists.org/fulldisclosure/2025/Jun/1 (Mailing List)
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-9978 (US Government Resource)