# WP Photo Album Plus <= 9.3.06.001 - Unauthenticated Reflected Cross-Site Scripting via 'searchroot' Parameter

- **ID:** WPSEC-2026-2719
- **Plugin:** WP Photo Album Plus (`wp-photo-album-plus`), https://wordpress.org/plugins/wp-photo-album-plus/
- **Affected versions:** all versions before 9.3.06.002
- **Fixed in:** 9.3.06.002 (Update to 9.3.06.002 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 Low, affected versions Low (as of 2026-11-07)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-photo-album-plus
- **Fix released:** 2026-11-06
- **Published:** 2026-11-07
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2719/

## Description

The WP Photo Album Plus plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'searchroot' parameter in all versions up to, and including, 9.3.06.001 due to insufficient input sanitization and output escaping. The search root value is taken from the request, stored in the visitor's session, and concatenated unescaped into an inline JavaScript call used to update the search boxes. This makes it possible for unauthenticated attackers to inject arbitrary web scripts into pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

## References

- https://wpsec.com/vuln/WPSEC-2026-2719/
- https://plugins.svn.wordpress.org/wp-photo-album-plus/tags/9.3.06.002/
- https://wordpress.org/plugins/wp-photo-album-plus/

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

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.
