# Accordion Slider <= 1.9.16 - Authenticated (Author+) Stored Cross-Site Scripting via Posts and Gallery Panel Dynamic Tags

- **ID:** WPSEC-2026-4289
- **Plugin:** Accordion Slider (`accordion-slider`), https://wordpress.org/plugins/accordion-slider/
- **Affected versions:** all versions before 1.9.17
- **Fixed in:** 1.9.17 (Update to 1.9.17 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/accordion-slider
- **Fix released:** 2026-11-30
- **Published:** 2026-12-01
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4289/

## Description

The Accordion Slider plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the dynamic tags of posts, posts IDs and gallery panels (such as [as_image_alt], [as_image_title] and [as_custom]) in all versions up to, and including, 1.9.16, due to insufficient output escaping of post and attachment data, including image alt text, image titles and custom field values, when the tags are replaced in the panel markup. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts through their own posts' custom fields or their uploaded images' metadata. The scripts run when a user views an accordion that displays those posts or images.

## References

- https://wpsec.com/vuln/WPSEC-2026-4289/
- https://plugins.svn.wordpress.org/accordion-slider/tags/1.9.17/
- https://wordpress.org/plugins/accordion-slider/

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

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.
