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… (CVE-2026-14922)
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=...>`).
AI Analysis
Technical Summary
The WP Photo Album Plus plugin suffers from a stored Cross-Site Scripting vulnerability in all versions up to and including 9.2.03.001. The issue stems from the comment sanitization workflow in the function `wppa_do_comment()`, which first sanitizes input using `wppa_filter_html()` (based on wp_kses) and then strips tags with `wp_strip_all_tags()`. However, `wp_strip_all_tags()` only removes actual HTML tags and does not decode HTML entities before doing so. An attacker can submit a double HTML-entity-encoded payload (e.g., `&lt;img src=... onload=...&gt;`), which passes the sanitization as harmless text but is stored one decode level down as executable HTML (`<img ... onload=...>`). When rendered, this results in stored XSS execution. The vulnerability is tracked as CVE-2026-14922 with a CVSS 3.1 score of 6.1 (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N). No known exploits are reported in the wild and no patch information is provided.
Potential Impact
Successful exploitation allows an attacker to inject stored malicious scripts into photo comments, which execute in the context of users viewing those comments. This can lead to limited confidentiality and integrity impacts, such as theft of user session data or manipulation of displayed content. There is no reported impact on availability. The vulnerability requires user interaction (UI:R) and can be exploited remotely without privileges (AV:N/PR:N).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider disabling or restricting the photo comment feature to mitigate risk. Avoid allowing untrusted users to post comments or apply additional filtering on input to prevent double-encoded payloads. Monitor vendor channels for updates and apply official patches once released.
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… (CVE-2026-14922)
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=...>`).
CVSS v3.1
Score 6.1medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The WP Photo Album Plus plugin suffers from a stored Cross-Site Scripting vulnerability in all versions up to and including 9.2.03.001. The issue stems from the comment sanitization workflow in the function `wppa_do_comment()`, which first sanitizes input using `wppa_filter_html()` (based on wp_kses) and then strips tags with `wp_strip_all_tags()`. However, `wp_strip_all_tags()` only removes actual HTML tags and does not decode HTML entities before doing so. An attacker can submit a double HTML-entity-encoded payload (e.g., `&lt;img src=... onload=...&gt;`), which passes the sanitization as harmless text but is stored one decode level down as executable HTML (`<img ... onload=...>`). When rendered, this results in stored XSS execution. The vulnerability is tracked as CVE-2026-14922 with a CVSS 3.1 score of 6.1 (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N). No known exploits are reported in the wild and no patch information is provided.
Potential Impact
Successful exploitation allows an attacker to inject stored malicious scripts into photo comments, which execute in the context of users viewing those comments. This can lead to limited confidentiality and integrity impacts, such as theft of user session data or manipulation of displayed content. There is no reported impact on availability. The vulnerability requires user interaction (UI:R) and can be exploited remotely without privileges (AV:N/PR:N).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider disabling or restricting the photo comment feature to mitigate risk. Avoid allowing untrusted users to post comments or apply additional filtering on input to prevent double-encoded payloads. Monitor vendor channels for updates and apply official patches once released.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-xmq9-mfwm-hg4m
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-14922"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a6daad7bf32cb7a34667bf0
Added to database: 08/01/2026, 08:14:15 UTC
Last enriched: 08/01/2026, 08:19:37 UTC
Last updated: 09/14/2026, 22:01:31 UTC
Views: 55
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.