Stored XSS in Social Warfare WordPress plugin

Published: 2019-03-21 | Updated: 2023-08-21
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-9978
Exploitation vector Network
Public exploit This vulnerability is being exploited in the wild.
Vulnerable software
WordPress Social Sharing Plugin – Social Warfare
Web applications / Modules and components for CMS

Vendor Warfare Plugins

Security Bulletin

This security bulletin contains information about 1 vulnerabilities.

UPDATED: 22.03.2019
Vulnerability name and description were updated according to analysis. Risk level was lowered from Critical to High.

UPDATED: 25.03.2019
Assigned CVE-ID.

1) Cross-site scripting

EUVDB-ID: #VU18052

Risk: High


CVE-ID: CVE-2019-9978


Exploit availability:


The vulnerability allows a remote attacker to perform cross-site scripting attacks.

The vulnerability exists due to usage of the eval() JavaScript call on data passed via the  "swp_url" HTTP GET parameter to "/wp-admin/admin-post.php" script, when "swp_debug" is set to "load_options", allowing to permanently inject and execute arbitrary JavaScript code on the website. A remote unauthenticated attacker can store a specially crafted JavaScript code into database and execute it in browser of every website visitor.

Note: this vulnerability is being actively exploited in the wild.

Exploitation example:



Update to version 3.5.3.

Vulnerable software versions

WordPress Social Sharing Plugin – Social Warfare: 3.5.1 - 3.5.2

Fixed software versions

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?