{"answers":{"affected":"It affects 2 products.","exploited":"Yes. Attackers have exploited CVE-2019-9978 in the wild since at least 3 Nov 2021.","fix":"No fix has been published for CVE-2019-9978 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 3 May 2022.","what":"CVE-2019-9978 is a medium-severity cross-site scripting vulnerability in n/a, published on 24 Mar 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2019-9978 and fix it if it is affected.\n\nWhat it is: CVE-2019-9978 is a medium-severity cross-site scripting vulnerability in n/a, published on 24 Mar 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: Yes. Attackers have exploited CVE-2019-9978 in the wild since at least 3 Nov 2021.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2019-9978/ (Markdown: https://insights.sbomify.com/CVE-2019-9978/index.md)","id":"CVE-2019-9978","markdown":"https://insights.sbomify.com/CVE-2019-9978/index.md","name":"CVE-2019-9978","record":{"aliases":["GHSA-gfx2-wv94-38hv"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"none","summary":"Stored XSS in Social Warfare plugin allows attackers to inject malicious scripts, potentially leading to code execution or account takeover.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"social_warfare","vendor":"warfareplugins"},{"product":"social_warfare_pro","vendor":"warfareplugins"}],"cvss":{"score":6.1,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":[],"exploits":{"exploitdb":2,"first_seen":"2019-03-25","github_poc":17,"max_poc_stars":22,"metasploit":0,"nuclei":1,"refs":[{"date":"2019-05-03T05:57:44Z","kind":"github_poc","ref":"https://github.com/hash3liZer/CVE-2019-9978","stars":22,"title":"CVE-2019-9978 - (PoC) RCE in Social WarFare Plugin (\u003c=3.5.2)"},{"date":"2019-03-25T23:38:58Z","kind":"github_poc","ref":"https://github.com/mpgn/CVE-2019-9978","stars":8,"title":"CVE-2019-9978 - RCE on a Wordpress plugin:  Social Warfare \u003c 3.5.3"},{"date":"2019-05-06T04:48:43Z","kind":"github_poc","ref":"https://github.com/KTN1990/CVE-2019-9978","stars":6,"title":"Wordpress Social Warfare Remote Code Execution (AUTO UPLOAD SHELL)"},{"date":"2023-01-20T16:29:18Z","kind":"github_poc","ref":"https://github.com/grimlockx/CVE-2019-9978","stars":4,"title":"Remote Code Execution in Social Warfare Plugin before 3.5.3 for Wordpress."},{"date":"2026-01-25T19:32:01Z","kind":"github_poc","ref":"https://github.com/yup-Ivan/CVE-2019-9978","stars":4,"title":"POC (RCE) -\u003e CVE-2019-9978"},{"date":"2022-11-15T01:22:38Z","kind":"github_poc","ref":"https://github.com/d3fudd/CVE-2019-9978_Exploit","stars":3,"title":"Social WarFare Plugin (\u003c=3.5.2) Remote Code Execution"},{"date":"2026-07-07T20:01:42Z","kind":"github_poc","ref":"https://github.com/TokyoHunter/CVE-2019-9978-Social-Warfare-WordPress-RCE","stars":2,"title":"A complete walkthrough and exploit for CVE-2019-9978 - Unauthenticated Remote Code Execution in Social Warfare WordPress plugin ≤ 3.5.2. Includes vulnerable code analysis and payload examples."},{"date":"2025-03-27T23:18:51Z","kind":"github_poc","ref":"https://github.com/echoosso/CVE-2019-9978","stars":1,"title":"A Remote Code Execution (RCE) vulnerability in the Social Warfare plugin for WordPress, affecting versions below 3.5.3."}],"tier":"exploited"},"has_fix":false,"headline":"WordPress Social Warfare Plugin Cross-Site Scripting (XSS)","id":"CVE-2019-9978","indexable":true,"kev":{"dateAdded":"2021-11-03","dueDate":"2022-05-03","knownRansomwareCampaignUse":"Unknown","product":"Social Warfare Plugin","requiredAction":"Apply updates per vendor instructions.","vendorProject":"WordPress","vulnerabilityName":"WordPress Social Warfare Plugin Cross-Site Scripting (XSS) Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2019"},"n_packages":0,"n_references":10,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2019-9983"},"packages":[],"prev":{"headline":"Code injection in n/a","id":"CVE-2019-9977"},"products":["n/a"],"published":"2019-03-24","related":[{"cvss_score":10,"headline":"Social Warfare \u003c= 3.5.2 - Remote Code Execution","id":"CVE-2021-4434","kev_date_added":null,"published":"2024-01-17"},{"cvss_score":6.4,"headline":"Cross-site scripting in Social Sharing Plugin – Social Warfare","id":"CVE-2023-4842","kev_date_added":null,"published":"2023-11-07"},{"cvss_score":5.4,"headline":"Social Warfare \u003c= 4.3.0 - Missing Authorization","id":"CVE-2023-0402","kev_date_added":null,"published":"2023-01-19"},{"cvss_score":5.4,"headline":"Social Warfare \u003c= 4.3.1 - Cross-Site Request Forgery","id":"CVE-2023-0403","kev_date_added":null,"published":"2023-01-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Stored XSS in Social Warfare plugin allows attackers to inject malicious scripts, potentially leading to code execution or account takeover.","url":"https://insights.sbomify.com/CVE-2019-9978/"}