Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain WordPress Author credentials
-
DeliveryInject XSS payload into Photo Gallery content field
-
ExploitContent stored in WordPress database
-
ExecutionAdmin user loads gallery page
-
PersistPayload executes in admin browser context
-
ImpactExfiltrate session cookie or perform admin actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated WordPress user session with at minimum Author-level role (CVSS PR:L confirmed). The attacker must have the ability to create or edit Photo Gallery plugin content - specifically access to input fields within the gt3-photo-video-gallery plugin interface (e.g., gallery creation or image metadata editing). Victim interaction is required (CVSS UI:R): a separate user, typically with higher privileges such as an Editor or Administrator, must load the page rendering the poisoned gallery content in their browser. Limiting factors include: the Author-role authentication prerequisite preventing unauthenticated exploitation; the dependency on a victim loading the affected content (precluding fully automated mass exploitation); and the requirement that the GT3 Themes Photo Gallery plugin be installed and active on the WordPress site. The vulnerability does not affect WordPress core or other plugins. |
| Impact | The CVSS 6.5 Medium score reflects a meaningful but bounded risk profile. The PR:L metric confirms exploitation requires an authenticated WordPress Author account - unauthenticated or anonymous exploitation is not possible. UI:R means a victim must actively view the poisoned gallery content, introducing a social engineering or timing dependency. The S:C scope change is the most consequential signal: it indicates that a low-privileged Author can indirectly compromise a higher-privileged administrator, creating a viable privilege escalation path. EPSS data was not provided in the intelligence feed, so probability-based exploitation likelihood cannot be quantified. No CISA KEV listing and no reported public POC reduce immediate urgency relative to actively exploited vulnerabilities. Real-world risk is most acute for WordPress installations where multiple untrusted or semi-trusted Author accounts exist, or where Author-role credentials have been compromised. Organizations with tightly controlled author populations face materially lower risk. |
| Exploit ScenarioDerived | An attacker with a compromised or legitimately held WordPress Author account navigates to the Photo Gallery plugin's content editor and injects a JavaScript payload (e.g., a cookie-stealing script via document.cookie) into a gallery title or image caption field. When a site administrator later opens the WordPress dashboard or front-end gallery page to review or publish the content, the stored script executes in the administrator's browser, exfiltrating their session cookie to an attacker-controlled endpoint and enabling the attacker to assume full administrative control of the WordPress site. No public exploit code is known at time of analysis, but the attack technique is well-understood and the barrier to exploitation is low once Author credentials are obtained. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Photo Gallery gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
DescriptionCVE.org
Author Cross Site Scripting (XSS) in Photo Gallery <= 2.7.7.29 versions.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
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
EUVD-2026-48122
GHSA-29hm-3rfg-r56r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB