Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconSubmit double-encoded XSS payload in photo comment field
-
DeliveryBypass wp_kses and wp_strip_all_tags sanitization
-
ExploitStore entity-encoded payload in WordPress database
-
InstallAdministrator opens comment review or gallery page
-
C2Browser decodes stored entities into live HTML tag
-
ExecuteInjected script executes in admin browser session
-
ImpactExfiltrate session cookie or perform privileged admin action
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 WP Photo Album Plus version 9.2.03.001 or earlier to be installed and active on the target WordPress site, with the photo commenting feature enabled and accessible. The CVSS PR:N vector indicates no authentication is required to submit a photo comment under default plugin configuration - however, if the WordPress site has been configured to require commenter login (a non-default but common hardening step), an attacker would need at minimum a Subscriber-level WordPress account. The stored payload does not execute on write; it requires a victim with a valid browser session to load the page containing the poisoned comment. The highest-impact exploitation path depends on an administrator visiting the comments interface, making automated mass exploitation unlikely - manual targeting or phishing is the more realistic delivery mechanism. There are no platform, OS, or network-topology prerequisites beyond standard HTTP access to the WordPress frontend or admin panel. |
| Impact | The CVSS 3.1 score of 6.1 Medium (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) accurately characterizes this as network-accessible, low-complexity stored XSS with a cross-site scope change. PR:N reflects that photo comment submission is typically open to unauthenticated users on public WordPress gallery installations, though sites that restrict commenting to logged-in users would effectively raise this to PR:L - defenders should verify their site's comment policy. UI:R is load-bearing: the payload only executes when a victim (most critically, an administrator) views the affected comment listing, making opportunistic mass exploitation unlikely. This aligns with the EPSS signal of 0.15% at the 5th percentile - extremely low probability of automated exploitation despite the public PoC - and the absence from CISA KEV. The real-world risk is concentrated in targeted scenarios where an attacker poisons comments hoping an admin will review them, enabling session cookie theft or privilege escalation within the WordPress admin panel. For high-traffic public photo galleries with active moderation workflows, this is a credible threat despite the moderate score. For sites with private galleries or restricted commenting, risk is substantially lower. |
| Exploit ScenarioDerived | An unauthenticated attacker identifies a WordPress site running WP Photo Album Plus with open photo commenting and submits a comment containing a double HTML-entity-encoded payload - for example, a hidden |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 31, 2026
Stored XSS in WP Photo Album Plus (all versions up to 9.2.03.001) allows unauthenticated remote attackers to inject persistent malicious scripts into photo comments by exploiting a decode-after-sanitize flaw in the plugin's comment pipeline. The sanitization sequence in wppa-functions.php applies wp_kses then wp_strip_all_tags() on write, but neither function decodes HTML entities before inspecting markup - a double-encoded payload such as <script> passes both filters as harmless text, is stored one entity-decode level down, and renders as executable HTML when a victim's browser processes the page. A public proof-of-concept is available via WPScan; however, the vulnerability is not in CISA KEV and EPSS sits at 0.15% (5th percentile), indicating no observed mass exploitation at time of analysis.
RemediationAI
Update WP Photo Album Plus to version 9.2.04.003 or later, the vendor-released patch that addresses the double-encoding bypass (confirmed by EUVD-2026-51419). Update via the WordPress dashboard under Plugins → Updates, or download the patched release directly from the WordPress plugin repository. If immediate patching is not feasible, disabling the photo commenting feature entirely eliminates the attack write path - this is the most effective compensating control, though it removes commenting functionality for users. A softer alternative is restricting comment submission to authenticated WordPress users (configured under Settings → Discussion → 'Comment author must have a previously approved comment' or by requiring login), which raises the prerequisite from PR:N to PR:L and reduces opportunistic risk, but does not fix the underlying sanitization flaw and may break gallery workflows for public-facing sites. The WPScan advisory at https://wpscan.com/vulnerability/ca9f99eb-221a-417e-b18f-0a8b8b513f2e/ provides additional context.
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
WP Photo Album Plus is a PHP-based WordPress plugin providing photo gallery and album management with a user-facing comment system. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically the decode-after-sanitize variant: the plugin's wppa_do_comment() function applies two sequential sanitizers at wppa-functions.php:2623-2624 - first wppa_filter_html() (a wrapper around WordPress core's wp_kses) and then wp_strip_all_tags(). Both functions operate on syntactic HTML: wp_kses allows or strips real tags by parsing angle brackets, and wp_strip_all_tags() removes only structurally complete <tag> constructs. Neither performs HTML entity decoding prior to inspection. An attacker supplying &lt;img src=x onerror=...&gt; presents no real angle brackets to either filter; the payload is written to storage as <img src=x onerror=...>. On page render, the browser performs one round of entity decoding, reconstructing a live HTML tag from the stored entity string. CPE: cpe:2.3:a:unknown:wp_photo_album_plus:*:*:*:*:*:*:*:*; affected versions confirmed below 9.2.04.003 per EUVD-2026-51419.
Know when Wp Photo Album Plus 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:N/UI:R/S:C/C:L/I:L/A:N
Network-accessible stored XSS with scope change into victim browser; PR:N reflects default open-comment configuration; UI:R required as victim must load the page containing the stored payload.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
4DescriptionCVE.org
WP Photo Album Plus is vulnerable to stored Cross-Site Scripting in all versions up to, and including, 9.2.03.001 through a decode-after-sanitize (double-encoding) flaw in the photo-comment pipeline. On write, wppa_do_comment() sanitizes the comment with wppa_filter_html() (wp_kses) followed by wp_strip_all_tags() (wppa-functions.php:2623-2624). Because wp_strip_all_tags() only removes *real* tags, an attacker who submits a double HTML-entity-encoded payload (e.g. &lt;img src=... onload=...&gt;) passes the write filters as harmless entity text and is stored one decode-level down (<img ... onload=...>).
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 Wp Photo Album Plus
View allUnauthenticated information disclosure in WP Photo Album Plus (WordPress plugin, all versions before 9.2.07.002) allows
Unauthenticated arbitrary file deletion in WP Photo Album Plus (versions before 9.2.07.002) exposes WordPress sites to p
Reflected Cross-Site Scripting in the WP Photo Album Plus WordPress plugin (all versions before 9.2.07.002) allows unaut
SQL injection in the WP Photo Album Plus WordPress plugin before 9.1.11.001 allows unauthenticated attackers to inject a
Reflected cross-site scripting in WP Photo Album Plus before 9.2.11.002 allows remote unauthenticated attackers to injec
Insufficient authorization in WP Photo Album Plus (all versions before 9.2.09.002) allows any authenticated WordPress us
The WP Photo Album Plus WordPress plugin before 8.0.10 was vulnerable to Stored Cross-Site Scripting (XSS). Rated medium
Unauthenticated SQL injection in the WP Photo Album Plus WordPress plugin (versions ≤ 9.1.08.001) allows remote attacker
Authenticated OS command injection in the WP Photo Album Plus WordPress plugin (all versions up to and including 9.3.02.
Multiple cross-site scripting (XSS) vulnerabilities in wppa-ajax-front.php in the WP Photo Album Plus (aka WPPA) plugin
Cross-site request forgery in the WP Photo Album Plus WordPress plugin before 9.3.04.004 allows an attacker to delete ph
Remote code execution in WP Photo Album Plus affects all versions through the wppa_image_magick path, allowing authentic
EUVD-2026-51419
GHSA-xmq9-mfwm-hg4m
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB