WP Contact Slider <= 2.5.4 - Authenticated (Editor+) Stored Cross-Site Scripting via Slider Position Setting
- ID
- WPSEC-2026-3695
- Plugin
- WP Contact Slider (wp-contact-slider)
- Affected
- all versions before 2.5.6
- Remediation
- Update to 2.5.6 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:H/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-22
- Attack surface
- WP Contact Slider on WPSec AttackSurface
- Fix released
- Published
Description
The wp-contact-slider plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Slider position' setting of contact sliders in all versions up to, and including, 2.5.4, due to insufficient input sanitization and output escaping. The saved position value is not checked against the allowed options and is printed into the slider's inline JavaScript and CSS on the front end with only esc_attr(), which does not neutralize JavaScript syntax. This makes it possible for authenticated attackers, with editor-level access and above, to inject arbitrary web scripts that will execute whenever a user accesses a page where the slider is displayed. This mainly affects multisite installations and sites where unfiltered_html has been disabled.
References
- https://wpsec.com/vuln/WPSEC-2026-3695/
- https://plugins.svn.wordpress.org/wp-contact-slider/tags/2.5.6/
- https://wordpress.org/plugins/wp-contact-slider/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS