CVE-2026-14922 Details
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. `&lt;img src=... onload=...&gt;`) passes the write filters as harmless entity text and is stored one decode-level down (`<img ... onload=...>`).
A stored cross-site scripting vulnerability has been identified in WP Photo Album Plus, affecting all versions prior to 9.2.04.003. The issue arises from a double-encoding flaw in the photo-comment processing pipeline. When a comment is submitted, the function 'wppa_do_comment()' first sanitizes the input using 'wppa_filter_html()' (which applies WordPress's KSES sanitization) and then 'wp_strip_all_tags()'. However, 'wp_strip_all_tags()' only removes actual HTML tags, allowing an attacker to exploit this by sending a double HTML-entity-encoded payload, such as an image tag with an 'onload' event. This payload bypasses the sanitization filters and is stored in a decoded form as a live HTML tag. The vulnerability can be exploited by users with Subscriber-level access, as comments from logged-in users are automatically approved under common moderation policies.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 31, 2026CISA-ADP
Assessed Jul 31, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://wpscan.com/vulnerability/ca9f99eb-221a-417e-b18f-0a8b8b513f2e/ | [email protected] | AdvisoryExploitRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| WP Photo Album Plus | <= 9.2.03.001 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 31, 2026 | CVE Modified | CISA-ADP |
| Jul 31, 2026 | New CVE Received | [email protected] |
Volerion