CVE-2025-11866
Description
The Photographers galleries plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple shortcode attributes (`w`, `h`, `raw_css`, `look`, etc.) in all versions up to, and including, 1.1.8. This is due to the plugin not properly sanitizing user input or escaping output when inserting these values into HTML attributes and inline styles. 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.
Affected WordPress components
-
photographers-galleries Plugin · photographers-galleriesUp to and including 1.1.8View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- aurelienpierre Photographers galleries — Up to and including 1.1.8
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/photographers-galleries/tags/1.1.8/includes/shortcodes.php#L61
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/9300af5d-7886-4f4e-8454-0dcf2d895fee?source=cve
- nvd.nist.gov Official NVD record