Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
Author-role authentication (PR:L) and victim page-load (UI:R) required; scope change reflects cross-user session impact; availability impact removed as XSS does not cause denial of service.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
Lifecycle Timeline
1DescriptionCVE.org
Author Cross Site Scripting (XSS) in Photo Gallery <= 2.7.7.29 versions.
AnalysisAI
Stored Cross-Site Scripting in the GT3 Themes Photo Gallery WordPress plugin (versions <= 2.7.7.29) allows authenticated users holding at minimum the Author role to inject persistent malicious JavaScript into gallery content. When a privileged user such as an administrator subsequently views the affected gallery, the injected script executes in their browser context, enabling session hijacking or unauthorized administrative actions. No public exploit code exists and no CISA KEV listing is present at time of analysis, but the scope change (S:C) elevates practical risk by enabling privilege escalation from Author to Administrator.
Technical ContextAI
CWE-79 (Improper Neutralization of Input During Web Page Generation) describes a failure to sanitize user-supplied content before embedding it in HTML output. The affected product is the GT3 Themes Photo Gallery plugin for WordPress (CPE: cpe:2.3:a:gt3themes:photo_gallery:*:*:*:*:*:*:*:*), a media gallery plugin that allows authors to create and manage photo and video galleries. The 'Author' label in the CVE title indicates the injection point lies within the author-facing gallery creation or editing interface - likely a field such as gallery title, image caption, or alt text - where input is stored without adequate escaping and later rendered verbatim in pages served to other users. The CVSS scope change (S:C) confirms that the impact crosses security boundaries: content entered by one user (Author) affects the browser session of another user (e.g., Administrator), which is the defining characteristic of stored/persistent XSS.
RemediationAI
Update the GT3 Themes Photo Gallery plugin to a version beyond 2.7.7.29 as soon as a patched release is confirmed by the vendor or Patchstack. The Patchstack advisory at https://patchstack.com/database/wordpress/plugin/gt3-photo-video-gallery/vulnerability/wordpress-photo-gallery-plugin-2-7-7-29-cross-site-scripting-xss-vulnerability should be monitored for the specific patched version number, which was not independently confirmed from available data. As a compensating control prior to patching, restrict the Photo Gallery plugin's content creation capabilities to fully trusted Author accounts only - remove or demote any Author-role accounts that are not operationally necessary. Deploying a WordPress WAF rule (e.g., via Wordfence or Patchstack Firewall) targeting XSS payloads in gallery input fields can block exploitation attempts without requiring immediate plugin update; trade-off is potential false positives on legitimate rich-text content. Reviewing existing gallery entries for suspicious script tags is advisable if untrusted Authors have had access.
More in Photo Gallery
View allUnrestricted File Upload vulnerability in Photo Gallery 1.2.5. Rated high severity (CVSS 8.8), this vulnerability is rem
The Photo Gallery WordPress plugin through 1.6.3 does not properly escape the $_POST['filter_tag'] parameter, which is a
The Photo Gallery by 10Web WordPress plugin before 1.6.0 does not validate and escape the bwg_tag_id_bwg_thumbnails_0 pa
Unvalidated input in the Photo Gallery (10Web Photo Gallery) WordPress plugin, versions before 1.5.55, leads to SQL inje
The get_gallery_categories() and get_galleries() functions in the Photo Gallery by Ays - Responsive Image Gallery WordPr
SQL injection vulnerability in the Photo Gallery plugin 1.2.7 for WordPress allows remote attackers to execute arbitrary
SQL injection vulnerability in the Photo Gallery plugin before 1.2.11 for WordPress allows remote authenticated users to
The Photo Gallery by 10Web WordPress plugin before 1.8.34 does not sanitised and escaped comment added on images by unau
The current_url parameter of the AJAX call to the GalleryBox action of admin-ajax.php is vulnerable to reflected Cross S
The Photo Gallery by Ays WordPress plugin before 5.1.7 does not escape some parameters before outputting it back in attr
The Photo Gallery by 10Web WordPress plugin before 1.6.3 does not properly sanitize the $_GET['image_url'] variable, whi
The Photo Gallery by 10Web WordPress plugin before 1.5.68 is vulnerable to Reflected Cross-Site Scripting (XSS) issues v
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-48122
GHSA-29hm-3rfg-r56r