ZeroHour

CVE-2019-9978

KEV PoC ×5large

Stored XSS in WordPress Social Warfare Plugin (CVE-2019-9978) Exploited in the Wild

CISA: WordPress Social Warfare Plugin Cross-Site Scripting (XSS) Vulnerability

CVSS 3.1
6.1 medium
EPSS
73%p99
Published
()
KEV added
AI analysis

CVE-2019-9978 is a stored cross-site scripting (CWE-79) flaw in the Social Warfare social-sharing plugin for WordPress: the plugin's debug routine at wp-admin/admin-post.php?swp_debug=load_options accepts an unauthenticated swp_url parameter and uses it to pull in attacker-controlled settings/content that is then persisted on the site. An attacker triggers the flaw by simply sending an unauthenticated request to admin-post.php with swp_debug=load_options and a crafted swp_url; the injected content later executes in the browsers of WordPress administrators when they view the affected dashboard or pages. Successful exploitation lets an attacker run arbitrary JavaScript in admin sessions, change plugin and site settings, and inject malicious scripts, redirects, or content into the site; public PoCs and the in-the-wild exploits were described as escalating to remote code execution. Any WordPress site running Social Warfare or Social Warfare Pro before version 3.5.3 is affected. The flaw was exploited as a zero-day in March 2019, is on CISA's KEV (added 2021-11-03) with a 72.9% EPSS (99th percentile), and related reporting indicates widespread active exploitation with follow-on web shell activity.

What to do: Upgrade Social Warfare and Social Warfare Pro to version 3.5.3 or later immediately (apply updates per vendor instructions) and verify the installed version under Plugins in wp-admin. If updating is not possible right away, deactivate the plugin or block unauthenticated requests to admin-post.php that include the swp_debug parameter. Review plugin settings, posts, and pages for injected JavaScript, check administrator accounts for additions or changes, and hunt for web shells given reported follow-on deployments.

Affected
warfareplugins Social Warfare (WordPress plugin)before 3.5.3
warfareplugins Social Warfare Pro (WordPress plugin)before 3.5.3
Estimated exposure
largeroughly tens of thousands of sites (≈60,000–70,000 WordPress installs at the time of the March 2019 disclosure) — Estimate based on the Social Warfare plugin's WordPress.org active-install count of approximately 60,000+ at the time of disclosure, plus additional Social Warfare Pro deployments; far fewer unpatched sites remain today.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

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.

CISA Known Exploited Vulnerability
Affected
WordPress Social Warfare Plugin
Required action
Apply updates per vendor instructions.
Due date
Ransomware use
Unknown
Vendors
warfareplugins
Products
social warfare, social warfare pro
Ecosystems
WordPress
Weakness
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

In the news