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)
- Affected
- all versions before 2.3.3
- Remediation
- Update to 2.3.3 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-30
- Attack surface
- Pixel Gallery Addons for Elementor – Easy Grid, Creative Gallery, Drag and Drop Grid, Custom Grid Layout, Portfolio Gallery on WPSec AttackSurface
- Fix released
- Published
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/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS