# Photo Gallery by 10Web <= 1.8.47 - Reflected Cross-Site Scripting via 'page' Parameter

- **ID:** WPSEC-2026-1089
- **Plugin:** Photo Gallery by 10Web – Mobile-Friendly Image Gallery (`photo-gallery`), https://wordpress.org/plugins/photo-gallery/
- **Affected versions:** all versions before 1.8.48
- **Fixed in:** 1.8.48 (Update to 1.8.48 or later.)
- **Severity:** Medium 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin High, affected versions High (as of 2026-10-16)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/photo-gallery
- **Fix released:** 2026-10-15
- **Published:** 2026-10-16
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1089/

## Description

The Photo Gallery by 10Web plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'page' parameter in all versions up to, and including, 1.8.47 due to insufficient input sanitization and output escaping in the redirect that follows a galleries bulk action. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user, such as an administrator, into performing an action such as clicking on a link.

## References

- https://wpsec.com/vuln/WPSEC-2026-1089/
- https://plugins.svn.wordpress.org/photo-gallery/tags/1.8.48/
- https://wordpress.org/plugins/photo-gallery/

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

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.
