{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4191",
 "modified": "2026-11-28T14:43:33Z",
 "published": "2026-11-28T14:43:33Z",
 "summary": "WP Social Ninja – Embed Social Feeds, User Reviews & Chat Widgets <= 4.5.1 - Authenticated (Administrator+) Path Traversal to Arbitrary Directory Deletion via 'sourceId' and 'platform' Parameters",
 "details": "The WP Social Ninja plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 4.5.1 via the 'sourceId' and 'platform' parameters of the review platform configuration delete REST endpoint (DELETE platforms/reviews/configs). The values are passed only through sanitize_text_field(), then joined into an upload directory path that is recursively deleted, without rejecting '../' segments or checking that the path stays inside the plugin's upload folder. This makes it possible for authenticated attackers with administrator-level access, or a role granted the plugin's 'Manage Platforms' permission, to delete arbitrary directories and their contents on the server. This can break the site or cause data loss.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "wp-social-reviews"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "3.15.0"
      },
      {
       "fixed": "4.5.2"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 3.15.0 before 4.5.2"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4191/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/wp-social-reviews/tags/4.5.2/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/wp-social-reviews/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4191/",
  "cwe_ids": [
   "CWE-22"
  ],
  "vulnerability_type": "FILE DELETION",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
