Vulnerabilities / Picture Gallery – Frontend Image Uploads, AJAX Photo List / WPSEC-2026-1404
Picture Gallery – Frontend Image Uploads, AJAX Photo List <= 1.6.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'id' Shortcode Attribute
Medium 6.4
CWE-79Fixed in 1.7.21
- ID
- WPSEC-2026-1404
- Plugin
- Picture Gallery – Frontend Image Uploads, AJAX Photo List (picture-gallery)
- Affected
- all versions before 1.7.21
- Remediation
- Update to 1.7.21 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 None seen among sites WPSec scans, 2026-10-21
- Attack surface
- Picture Gallery – Frontend Image Uploads, AJAX Photo List on WPSec AttackSurface
- Fix released
- Published
Description
The Picture Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' attribute of the videowhisper_pictures shortcode in all versions up to, and including, 1.6.2 due to insufficient input sanitization and output escaping, as the attribute was inserted directly into JavaScript and HTML identifiers. 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.
References
- https://wpsec.com/vuln/WPSEC-2026-1404/
- https://plugins.svn.wordpress.org/picture-gallery/tags/1.7.21/
- https://wordpress.org/plugins/picture-gallery/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS