Skip to main content

WP Photo Album Plus CVE-2026-137124

| EUVDEUVD-2026-142521 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-12-03 security@wordfence.com GHSA-wjf7-67g7-9p6j
5.4
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register/obtain subscriber account
  2. Delivery
    Submit crafted 'data.comment' with double-encoded entity
  3. Exploit
    Payload stored, bypasses wp_kses_post/esc_js
  4. Execution
    wppa_compress_html collapses entity to live quote
  5. Persist
    Admin views injected page
  6. Impact
    Script 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

WP Photo Album Plus 0 ≤9.3.07.003

Affected Packages

euvd wp_photo_album_plus no fix

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

Vendor (wordfence) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (wordfence).

CVSS VectorVendor: wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.5%
Top 56% exploitable
Prevalence
Low
niche WordPress photo gallery plugin, limited enterprise install base
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy