Description
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. `<img src=... onload=...>`) passes the write filters as harmless entity text and is stored one decode-level down (`<img ... onload=...>`).
Published: 2026-07-31
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

WP Photo Album Plus contains a stored XSS flaw that allows an attacker to embed malicious scripts inside photo comments. The bug arises because the plugin sanitizes a comment with wp_kses, then passes the result through wp_strip_all_tags, which removes only real tags. A double‑HTML‑entity‑encoded payload such as &amp;lt;img src=… onload=…&amp;gt; passes the sanitization and is stored as a single decoded entity. When viewed by another user, the decoded text becomes a real tag and the malicious script executes in the victim’s browser, potentially hijacking sessions or delivering phishing content. This weakness is a classic input validation issue corresponding to CWE‑79.

Affected Systems

All WordPress sites running WP Photo Album Plus version 9.2.03.001 or earlier are affected, regardless of specific configuration. The vulnerability exists whenever the plugin’s comment feature is enabled for any role that can post comments, such as Subscribers. If the plugin is installed and comment posting is allowed, the site is at risk.

Risk and Exploitability

The CVSS score of 6.1 indicates moderate‑to‑high severity, and the EPSS score of less than 1 % suggests that the probability of exploitation is low. The vulnerability is not listed in CISA’s KEV catalog, meaning no publicly documented exploits exist yet. However, the attack path is simple: any actor who can submit a comment can inject the malicious payload. High‑traffic sites or those with many Subscriber+ users are therefore more attractive targets because the attacker’s code executes for every visitor who views the infected comment.

Generated by OpenCVE AI on August 4, 2026 at 11:30 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest patch for WP Photo Album Plus, version 9.2.04.003 or newer, which removes the double‑encoding flaw.
  • If an upgrade cannot be performed immediately, disable the comment feature or restrict comment posting to administrator users until a fix is applied.
  • As a temporary countermeasure, implement server‑side filtering that re‑encodes or removes all pending entities from comments before rendering them.

Generated by OpenCVE AI on August 4, 2026 at 11:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 01 Aug 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 31 Jul 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79

Fri, 31 Jul 2026 06:30:00 +0000

Type Values Removed Values Added
Description 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. `&amp;lt;img src=... onload=...&amp;gt;`) passes the write filters as harmless entity text and is stored one decode-level down (`&lt;img ... onload=...&gt;`).
Title WP Photo Album Plus < 9.2.04.003 - Subscriber+ Stored XSS via Photo Comment
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-07-31T19:41:45.293Z

Reserved: 2026-07-07T08:03:53.590Z

Link: CVE-2026-14922

cve-icon Vulnrichment

Updated: 2026-07-31T19:41:40.221Z

cve-icon NVD

Status : Received

Published: 2026-07-31T07:16:26.177

Modified: 2026-07-31T20:16:47.173

Link: CVE-2026-14922

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T11:45:03Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')