CVE-2026-14922: WP Photo Album Plus stored XSS in photo-comment pipeline

CVE-2026-14922 · Severity: info · CVSS 8 · Published 2026-07-31

WP Photo Album Plus, a WordPress plugin used for managing and displaying photo galleries, contains a security vulnerability in its comment system. An attacker with a basic user account can submit a specially crafted comment that, when viewed by other users or administrators, executes malicious code in their browser. This could allow an attacker to hijack administrative sessions, steal sensitive information, or perform unauthorized actions on the website.

Technologies: WP Photo Album Plus. Vendors: WP Photo Album Plus.

Quick answers

Is CVE-2026-14922 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-14922 being exploited in the wild.
How severe is CVE-2026-14922?
Informational severity, with a CVSS score of 8, published 31 July 2026.
Which products and versions are affected?
WP Photo Album Plus up to, and including, 9.2.03.001.
Is there a fix for CVE-2026-14922?
A patch was published on 2026-07-31: Fixed in version 9.2.04.003 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-14922 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-14922?
Check whether you run WP Photo Album Plus at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A stored Cross-Site Scripting (XSS) vulnerability exists in WP Photo Album Plus up to version 9.2.03.001 due to a 'decode-after-sanitize' flaw. The `wppa_do_comment()` function uses `wp_kses` and `wp_strip_all_tags()` to sanitize input; however, these filters can be bypassed using double HTML-entity-encoded payloads (e.g., using &amp;lt; instead of <). When the comment is rendered in 'comten alt display' mode, the plugin performs an extra `html_entity_decode()`, reviving the malicious tags. Furthermore, the plugin's output filter `wppa_allowed_tags()` explicitly permits `onload` and `onclick` event handlers, allowing the revived payload to execute. This requires Subscriber-level authentication and the `comten_alt_display` option to be enabled. The issue is fixed in version 9.2.04.003.

Affected products

  • Unknown WP Photo Album Plus up to, and including, 9.2.03.001

Timeline

  • 2026-07-13: disclosed: Publicly published by WPScan
  • 2026-07-31: advisory: NVD published CVE-2026-14922
  • 2026-07-31: patched: Fixed in version 9.2.04.003

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.