CyberRota Analysis
AI-GeneratedWP Photo Album Plus versions up to 9.2.03.001 are vulnerable to stored Cross-Site Scripting (XSS) due to a flaw in the comment handling process that allows double-encoded HTML entities to bypass sanitization. This vulnerability enables attackers to inject malicious scripts that can execute in the context of users viewing the affected comments, potentially leading to data theft or session hijacking. Website administrators using this plugin should prioritize patching or updating to mitigate the risk of exploitation.
Original NVD 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=...>`).