Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister/obtain subscriber account
-
DeliverySubmit crafted 'data.comment' with double-encoded entity
-
ExploitPayload stored, bypasses wp_kses_post/esc_js
-
Executionwppa_compress_html collapses entity to live quote
-
PersistAdmin views injected page
-
ImpactScript executes in admin session
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 | Requires an authenticated WordPress account at subscriber level or above (PR:L) on a site running WP Photo Album Plus ≤ 9.3.07.003, with the attacker submitting a comment through the plugin's comment path ('data.comment' parameter) using a specifically crafted double-encoded HTML entity (') that evades wp_kses_post() and esc_js() sanitization but is decoded by the plugin's own wppa_compress_html() rewrite pass. Critically, the payload does not fire on its own: an administrator (or other user) must subsequently access the page holding the injected comment for the script to execute, as the description explicitly states the attacker cannot trigger it unaided. Limiting factors that reduce real-world risk: a valid subscriber-or-higher account is needed (sites that disable open registration raise the bar), the privileged-user interaction requirement, and the dependency on the plugin's specific comment-rendering path and non-standard double-encoding bypass. |
| Impact | This is a genuine but moderate-priority issue, best characterized as a high-friction stored XSS rather than a drive-by critical. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, base 5.4) tells a consistent story: network-reachable but gated behind authentication (PR:L - subscriber-level account) AND requiring victim interaction (UI:R). The description reinforces this by stating exploitation 'additionally requires an action by an administrator - the attacker cannot trigger the vulnerability on their own,' which aligns with UI:R and means the realistic victim is a privileged admin viewing the injected page. No EPSS score, KEV entry, or confirmed POC is present in the input, so there is no signal of active exploitation; exploitation status is 'no public exploit identified at time of analysis.' There is no SSVC exploitation/automatable data supplied, only the vuln.today 'this_month' priority label, which matches a patch-this-cycle cadence rather than an emergency. The one notable gap: the input provides no explicit fixed version string despite a changeset reference indicating a patch exists (see confidence_notes). Net: a real issue worth patching on a normal cycle, not a fire drill - the subscriber-auth plus admin-interaction requirements substantially limit mass exploitation. |
| Exploit ScenarioDerived | An attacker who has registered or obtained a subscriber-level account submits a photo comment whose 'data.comment' value carries a double-encoded entity (') that survives wp_kses_post() and esc_js() but is later collapsed by the wppa_compress_html() rewrite into a literal single quote, breaking out of the JavaScript string and injecting a script payload. The payload lies dormant until an administrator views the page containing the stored comment, at which point it executes in the admin's authenticated browser session. No public exploit code is identified at time of analysis, though the mechanism is described in detail in the Wordfence advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 03, 2026
Stored cross-site scripting in the WordPress plugin WP Photo Album Plus (all versions up to and including 9.3.07.003) lets an authenticated subscriber-level user plant a script payload in the plugin's comment field ('data.comment'), which executes when a victim - typically an administrator - later views the injected page. The payload survives wp_kses_post() and esc_js() only because it is submitted as a double-encoded entity (') that the plugin's own wppa_compress_html() rewrite pass later collapses into a literal quote that breaks out of a JavaScript string. Exploitation requires a valid subscriber-or-higher account plus a separate action by a privileged user, so it is a high-friction stored XSS rather than a drive-by issue; no CISA KEV entry, no confirmed public exploit code, and no EPSS score were provided at time of analysis.
RemediationAI
Upstream fix available (Trac changeset 3815127); a released patched plugin version is not independently confirmed in the supplied data, so update WP Photo Album Plus past 9.3.07.003 as soon as a release carrying the fix is published and verify the installed version afterwards. Track the changeset at https://plugins.trac.wordpress.org/changeset?reponame=&old=3815127%40wp-photo-album-plus&new=3815127%40wp-photo-album-plus and the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/87a4ec1e-00b5-4a64-a134-cf5f20a1a289?source=cve for the fixed release. Because the sink is the comment field rendered through wppa_compress_html(), interim options include restricting comment submission or the affected gallery/comment feature to trusted roles (trade-off: legitimate subscriber commenting stops working), closing open registration or tightening default roles so attacker-controlled subscriber accounts cannot be created (trade-off: onboarding friction and manual account provisioning), and auditing or removing existing comments containing encoded entity sequences such as ' (trade-off: manual review effort and possible false positives). Note that the payload only fires when a privileged user opens the injected page, so limiting how administrators browse untrusted gallery content reduces exposure but does not fix the underlying escaping defect.
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
The flaw is a CWE-79 improper-neutralization-of-script-related-markup issue in a WordPress plugin, arising from insufficient input sanitization and output escaping of the 'data.comment' parameter. What makes it notable is the bypass chain: WordPress's wp_kses_post() and the plugin's esc_js() both leave the double-encoded entity ' intact in storage, so standard escaping appears to succeed. The payload only becomes dangerous during rendering, when the plugin's custom wppa_compress_html() rewrite/minification pass collapses the entity into a browser-decoded literal single quote, which terminates the enclosing JavaScript string and allows injected script to execute. The vulnerable handling is spread across the plugin's AJAX, boxes/HTML, filter, functions, input, utils and wpdb-insert code paths (wppa-ajax.php, wppa-boxes-html.php, wppa-filter.php, wppa-functions.php, wppa-input.php, wppa-utils.php, wppa-wpdb-insert.php at tag 9.3.07.003). The assessed CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N confirms network-reachable, low-privilege (subscriber) access, a required user interaction, and a scope change because the script runs in the context of the viewing user - the administrator or other privileged account that opens the injected page. The exact trigger path beyond the comment submission plus subsequent page view is described in the available sources; no additional mechanism should be assumed.
Know when Wordpress Plugin 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:N
Subscriber account needed (PR:L) and a privileged victim must view the page (UI:R); stored XSS executes in another user's context so S:C with limited C:L/I:L and no availability impact.
Primary rating from Vendor (wordfence).
CVSS VectorVendor: wordfence
DescriptionCVE.org
The WP Photo Album Plus plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'data.comment' parameter in all versions up to, and including, 9.3.07.003 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The double-encoded entity bypass works because wp_kses_post() and esc_js() both preserve the stored ' value intact, and it is only the subsequent wppa_compress_html() rewrite pass that collapses it to a browser-decoded literal single quote capable of breaking out of the JavaScript string. Successful exploitation additionally requires an action by an administrator - the attacker cannot trigger the vulnerability on their own.
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 Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-142521
GHSA-wjf7-67g7-9p6j
NVD
CVE.org
EPSS
Exploit-DB