# Smart Slider 3 <= 3.5.1.41 - Authenticated (Author+) Stored Cross-Site Scripting via Generator Data in Slide Links

- **ID:** WPSEC-2026-4197
- **Plugin:** Smart Slider 3 (`smart-slider-3`), https://wordpress.org/plugins/smart-slider-3/
- **Affected versions:** all versions before 3.5.1.42
- **Fixed in:** 3.5.1.42 (Update to 3.5.1.42 or later.)
- **Severity:** Medium 4.4 (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin High, affected versions High (as of 2026-11-28)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/smart-slider-3
- **Fix released:** 2026-11-27
- **Published:** 2026-11-28
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4197/

## Description

The Smart Slider 3 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via generator data used in slide links in all versions up to, and including, 3.5.1.41. This is due to insufficient input sanitization and output escaping. The SlideEvent and ScrollTo link arguments were concatenated unescaped into JavaScript strings in onclick attributes, and the URLs of heading, image and button layer links were rejected only when they began with the exact lowercase string 'javascript:', so mixed-case or whitespace-obfuscated javascript: URLs were let through into the link's href. When an administrator builds a dynamic (posts) slider that puts post data that WordPress does not filter, such as custom fields, into a slide link, authenticated attackers with author-level access and above can store arbitrary web scripts in their published posts. The scripts run when a user clicks the injected link on a page that shows the slider.

## References

- https://wpsec.com/vuln/WPSEC-2026-4197/
- https://plugins.svn.wordpress.org/smart-slider-3/tags/3.5.1.42/
- https://wordpress.org/plugins/smart-slider-3/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4197/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
