WordPress Social Warfare Plugin
WordPress Social Warfare Plugin Cross-Site Scripting (XSS) Vulnerability
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.
Timeline
Days relative to CVE publicationFirst public PoC 1.4 days after publication; added to CISA KEV 2.6 years after publication. First PoC: mpgn/CVE-2019-9978 (created 25 Mar 2019, found by us: backfilled).
PoC repositories
Found on GitHub.13 PoCs · 1 pending · 4 informational · 1 suspicious or fake
PoCs 13
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| mpgn/CVE-2019-9978 | 25 Mar 2019 +1.4 d | 8 | PoC via PoC Index |
| hash3liZer/CVE-2019-9978 | 3 May 2019 +40 d | 22 | PoC |
| KTN1990/CVE-2019-9978 | 6 May 2019 +43 d | 6 | PoC |
| cved-sources/cve-2019-9978 | 6 May 2019 +43 d | 0 | PoC via PoC Index |
| d3fudd/CVE-2019-9978_Exploit | 15 Nov 2022 +3.6 y | 3 | PoC |
| grimlockx/CVE-2019-9978 | 20 Jan 2023 +3.8 y | 4 | PoC |
| h8handles/CVE-2019-9978-Python3 | 20 Aug 2023 +4.4 y | 0 | PoC |
| 0xMoonrise/cve-2019-9978 | 9 Nov 2023 +4.6 y | 0 | PoC |
| MAHajian/CVE-2019-9978 | 20 Sep 2024 +5.5 y | 0 | PoC |
| echoosso/CVE-2019-9978 | 27 Mar 2025 +6.0 y | 1 | PoC |
| Housma/CVE-2019-9978-Social-Warfare-WordPress-Plugin-RCE | 19 May 2025 +6.2 y | 0 | PoC |
| Vaidehim55/CVE-2019-9978-RCE-PoC | 1 Jan 2026 +6.8 y | 0 | PoC |
| yup-Ivan/CVE-2019-9978 | 25 Jan 2026 +6.8 y | 4 | PoC |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 20dani09/CVE-2019-9978 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Informational 4
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| aktia1/MegaQuagga_Pentesting_Report | 25 Apr 2026 +7.1 y | 0 | Informational · write-up |
| B4ntGrim/Vuln_Exploitation_MegaQuagga_Pentest | 30 Apr 2026 +7.1 y | 0 | Informational · detection |
| B4ntGrim/Vuln_Remediation_MegaQuagga | 30 Apr 2026 +7.1 y | 0 | Informational · detection |
| TokyoHunter/CVE-2019-9978-Social-Warfare-WordPress-RCE | 7 Jul 2026 +7.3 y | 3 | Informational · write-up
Flags · score 25
Below the suspicion threshold (50); does not change the assessment. |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 4RAYS-by-SOLAR/kubernetesMiracle | 15 May 2025 +6.1 y | 3 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | 46794 | unknown | 14 Nov 2026 |
| Exploit-DB | WordPress Plugin Social Warfare < 3.5.3 - Remote Code Execution | 3 May 2019 | 14 Nov 2026 |
| Exploit-DB | Social Warfare WordPress Plugin 3.5.2 - Remote Code Execution (RCE) | 26 Jun 2025 | 14 Nov 2026 |
| nuclei template | nuclei template: WordPress Social Warfare <3.5.3 - Cross-Site Scripting | 27 Apr 2023 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 13 PoC reposGET /wp-admin/admin-post.php
- Query
swp_debug=load_optionsswp_url=rce=idswp_url=http://172.18.0.1:1337/exploit.php- Ports
- 1337, 8098
- Seen in
- 3 repos: Housma/CVE-2019-9978-Social-Warfare-WordPress-Plugin-RCE, mpgn/CVE-2019-9978, yup-Ivan/CVE-2019-9978
- Evidence
- Housma/CVE-2019-9978-Social-Warfare-WordPress-Plugin-RCE/exploit.py:47 mpgn/CVE-2019-9978/README.md:8 yup-Ivan/CVE-2019-9978/CVE-2019-9978-POC.py:76
GET /backdoor.php
- Seen in
- 1 repo: d3fudd/CVE-2019-9978_Exploit
- Evidence
- d3fudd/CVE-2019-9978_Exploit/exploit.sh:24
GET /wordpress/wp-admin/admin-post.php
- Query
swp_debug=load_optionsswp_url=http://192.168.45.189/payload.txt- Seen in
- 1 repo: h8handles/CVE-2019-9978-Python3
- Evidence
- h8handles/CVE-2019-9978-Python3/exploit.py:22
GET /wp-admin/php-reverse-shell.php
- Ports
- 8098
- Seen in
- 1 repo: yup-Ivan/CVE-2019-9978
- Evidence
- yup-Ivan/CVE-2019-9978/CVE-2019-9978-POC.py:80
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/wp-admin/admin-post\.php\?(?:.*&)?swp_debug=load_options.*swp_url=.*rce=id.*swp_url=http://172\.18\.0\.1:1337/exploit\.php
(?i)^/backdoor\.php(?:[?#].*)?$
(?i)^/wordpress/wp-admin/admin-post\.php\?(?:.*&)?swp_debug=load_options.*swp_url=http://192\.168\.45\.189/payload\.txt
(?i)^/wp-admin/php-reverse-shell\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [1337,8098] (msg:"GG PoC-Monitor CVE-2019-9978 WordPress Social Warfare Plugin exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-admin/admin-post.php"; http.uri; content:"swp_debug=load_options"; http.uri; content:"swp_url="; http.uri; content:"rce=id"; http.uri; content:"swp_url=http://172.18.0.1:1337/exploit.php"; reference:url,poc.griffinguard.io/cve/CVE-2019-9978; classtype:web-application-attack; sid:9276791; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2019-9978 WordPress Social Warfare Plugin exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/backdoor.php"; reference:url,poc.griffinguard.io/cve/CVE-2019-9978; classtype:web-application-attack; sid:9209048; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2019-9978 WordPress Social Warfare Plugin exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wordpress/wp-admin/admin-post.php"; http.uri; content:"swp_debug=load_options"; http.uri; content:"swp_url=http://192.168.45.189/payload.txt"; reference:url,poc.griffinguard.io/cve/CVE-2019-9978; classtype:web-application-attack; sid:9114795; rev:1;)
alert http any any -> $HOME_NET [8098] (msg:"GG PoC-Monitor CVE-2019-9978 WordPress Social Warfare Plugin exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-admin/php-reverse-shell.php"; reference:url,poc.griffinguard.io/cve/CVE-2019-9978; classtype:web-application-attack; sid:9201905; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: WordPress Social Warfare Plugin exploit attempt (CVE-2019-9978)
id: gg-pocmon-cve-2019-9978-9276791
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-9978. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-9978
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-admin/admin-post.php'
cs-uri-query|contains|all:
- 'swp_debug=load_options'
- 'swp_url='
- 'rce=id'
- 'swp_url=http://172.18.0.1:1337/exploit.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2019.9978
title: WordPress Social Warfare Plugin exploit attempt (CVE-2019-9978)
id: gg-pocmon-cve-2019-9978-9209048
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-9978. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-9978
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/backdoor.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2019.9978
title: WordPress Social Warfare Plugin exploit attempt (CVE-2019-9978)
id: gg-pocmon-cve-2019-9978-9114795
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-9978. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-9978
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wordpress/wp-admin/admin-post.php'
cs-uri-query|contains|all:
- 'swp_debug=load_options'
- 'swp_url=http://192.168.45.189/payload.txt'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2019.9978
title: WordPress Social Warfare Plugin exploit attempt (CVE-2019-9978)
id: gg-pocmon-cve-2019-9978-9201905
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-9978. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-9978
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-admin/php-reverse-shell.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2019.9978