# Slider Pro <= 4.8.17 - Authenticated (Author+) Stored Cross-Site Scripting via Posts and Gallery Slide Dynamic Tags

- **ID:** WPSEC-2026-4288
- **Plugin:** Slider Pro (`sliderpro`), https://wordpress.org/plugins/sliderpro/
- **Affected versions:** all versions before 4.8.18
- **Fixed in:** 4.8.18 (Update to 4.8.18 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-01)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/sliderpro
- **Fix released:** 2026-11-30
- **Published:** 2026-12-01
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4288/

## Description

The Slider Pro plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the dynamic tags of posts and gallery slides (such as [sp_image_alt], [sp_custom], [sp_image_title] and [sp_content]) in all versions up to, and including, 4.8.17, due to insufficient output escaping. The values of post fields, custom fields and attachment alt text, titles and descriptions are put into the slide markup after the markup has been escaped, so they are not escaped. For example, the default main image alt attribute receives the raw attachment alt text. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts through their own media alt text or post custom fields. The scripts execute whenever a user accesses a page displaying a slider that renders those posts or images.

## References

- https://wpsec.com/vuln/WPSEC-2026-4288/
- https://plugins.svn.wordpress.org/sliderpro/tags/4.8.18/
- https://wordpress.org/plugins/sliderpro/

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

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.
