# Vertical Image Slider <= 1.3.19 - Unauthenticated Stored Cross-Site Scripting via Comment Content

- **ID:** WPSEC-2026-4068
- **Plugin:** Vertical Image Slider – Responsive Thumbnail Slider with Lightbox (`wp-vertical-image-slider`), https://wordpress.org/plugins/wp-vertical-image-slider/
- **Affected versions:** from 1.2.3 before 1.3.20
- **Fixed in:** 1.3.20 (Update to 1.3.20 or later.)
- **Severity:** High 7.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-11-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-vertical-image-slider
- **Fix released:** 2026-11-26
- **Published:** 2026-11-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4068/

## Description

The Vertical Image Slider plugin for WordPress is vulnerable to Stored Cross-Site Scripting via comment content and other rendered content in versions 1.2.3 up to, and including, 1.3.19. This is due to the plugin's content cleanup filter, applied on the_content and render_block, which matched static HTML comment markers that anyone could include in their input and decoded the escaped entity &#8221; between them back into a double quote, undoing WordPress core escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts, for example in a visitor comment, that will execute whenever a user accesses an injected page. Comment content is processed through render_block from version 1.2.18 (block themes); in earlier versions the filter runs on post content only, which limits the attack to contributors and above.

## References

- https://wpsec.com/vuln/WPSEC-2026-4068/
- https://plugins.svn.wordpress.org/wp-vertical-image-slider/tags/1.3.20/
- https://wordpress.org/plugins/wp-vertical-image-slider/

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

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.
