Flexmls® IDX Plugin <= 4.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Market Statistics Shortcode Attributes

Medium 6.4 CWE-79Fixed in 4.2.1
ID
WPSEC-2026-3920
Plugin
Flexmls® IDX Plugin (flexmls-idx)
Affected
all versions before 4.2.1
Remediation
Update to 4.2.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-25
Attack surface
Flexmls® IDX Plugin on WPSec AttackSurface
Fix released
Published

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.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0