{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-3920",
 "modified": "2026-11-25T19:48:14Z",
 "published": "2026-11-25T19:48:14Z",
 "summary": "Flexmls® IDX Plugin <= 4.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Market Statistics Shortcode Attributes",
 "details": "The Flexmls® IDX Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the market statistics shortcode's 'chart_type', 'width' and 'height' attributes in all versions up to, and including, 4.2, due to insufficient input sanitization and output escaping. The chart_type value is printed as a bare JavaScript identifier inside an inline script with only esc_js() applied, and the width and height values are printed unescaped into a style attribute. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "flexmls-idx"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "4.2.1"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 4.2.1"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-3920/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/flexmls-idx/tags/4.2.1/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/flexmls-idx/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-3920/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
