{
 "id": "WPSEC-2026-3920",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3920/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3920/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3920/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-3920.json",
 "title": "Flexmls® IDX Plugin <= 4.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Market Statistics Shortcode Attributes",
 "description": "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.",
 "plugin": {
  "slug": "flexmls-idx",
  "name": "Flexmls® IDX Plugin",
  "full_name": "Flexmls® IDX Plugin",
  "wordpress_org": "https://wordpress.org/plugins/flexmls-idx/",
  "advisories_url": "https://wpsec.com/vuln/plugin/flexmls-idx/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/flexmls-idx"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "4.2.1",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 4.2.1"
  ]
 },
 "introduced_in": null,
 "fixed_in": "4.2.1",
 "remediation": "Update to 4.2.1 or later.",
 "fix_released": "2026-11-24T18:59:06+00:00",
 "published": "2026-11-25T19:48:14+00:00",
 "updated": "2026-11-25T09:58:10.935275+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3920/",
  "https://plugins.svn.wordpress.org/flexmls-idx/tags/4.2.1/",
  "https://wordpress.org/plugins/flexmls-idx/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/flexmls-idx",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-25"
 }
}