{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4225",
 "modified": "2026-11-29T16:42:19Z",
 "published": "2026-11-29T16:42:19Z",
 "summary": "Polylang Connect for Elementor <= 2.5.5 - Unauthenticated Arbitrary Shortcode Execution via Language Switcher URL",
 "details": "The Connect Polylang for Elementor plugin for WordPress is vulnerable to arbitrary shortcode execution via the Language Switcher widget and the Language URL dynamic tag in all versions up to, and including, 2.5.5. This is due to Polylang language URLs being placed in content that do_shortcode() processes later, with square brackets left unencoded. On search and archive views these URLs carry the visitor's request URL and query string, and the plugin printed them with esc_url() only, which keeps raw square brackets when the query contains a second copy of the site origin. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes by crafting a request to a view where the widget or tag is rendered as part of post content.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "connect-polylang-elementor"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "2.6.0"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 2.6.0"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4225/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/connect-polylang-elementor/tags/2.6.0/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/connect-polylang-elementor/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4225/",
  "cwe_ids": [
   "CWE-94"
  ],
  "vulnerability_type": "UNKNOWN",
  "severity": "High",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
