# Pixel Gallery Addons for Elementor – Easy Grid, Creative Gallery, Drag and Drop Grid, Custom Grid Layout, Portfolio Gallery <= 2.3.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Gallery Item Video, Link and Image URLs

- **ID:** WPSEC-2026-4246
- **Plugin:** Pixel Gallery Addons for Elementor (`pixel-gallery`), https://wordpress.org/plugins/pixel-gallery/
- **Affected versions:** all versions before 2.3.3
- **Fixed in:** 2.3.3 (Update to 2.3.3 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-11-30)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/pixel-gallery
- **Fix released:** 2026-11-29
- **Published:** 2026-11-30
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4246/

## Description

The Pixel Gallery Addons for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via gallery item video, link and image URLs in all versions up to, and including, 2.3.2. This is due to insufficient output escaping. The hosted/external video URL is placed inside a JavaScript string in an onclick window.open() handler with only esc_url(), and the browser decodes the encoded quotes back before the handler runs. The Elementor editor templates also print item link and image URLs unescaped, after a check that entity-encoded javascript: URLs pass. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page or opens it in the editor.

## References

- https://wpsec.com/vuln/WPSEC-2026-4246/
- https://plugins.svn.wordpress.org/pixel-gallery/tags/2.3.3/
- https://wordpress.org/plugins/pixel-gallery/

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

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.
