Executive brief
The Photo Gallery by 10Web is a popular WordPress plugin for creating and managing image galleries. A vulnerability allows attackers to craft malicious links that, when clicked by logged-in administrators or contributors, execute arbitrary JavaScript within their authenticated session. This could lead to account compromise, malware injection, or unauthorized changes to website content.
Technical details
This is a reflected cross-site scripting (XSS) vulnerability (CWE-79) in the Photo Gallery by 10Web WordPress plugin versions before 1.8.44. Two request parameters (title and paged) are not properly escaped before being reflected into HTML input-attribute values on the Shortcode and Galleries/Albums admin pages. An unauthenticated attacker can craft a specially formatted URL containing malicious JavaScript that executes via an auto-firing onfocus handler when a logged-in administrator or contributor opens the link. The Galleries/Albums vector triggers only in populated installations with more than 20 galleries. The vulnerability has been fixed in version 1.8.44.
Affected products
- 10Web Photo Gallery before 1.8.44
Timeline
- 2026-08-31: disclosed
- 2026-09-02: patched: Fixed in version 1.8.44