CVE-2026-137124
MEDIUM 5.4CVSS 3.1WP Photo Album Plus <= 9.3.07.003 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Comment Field
The WP Photo Album Plus plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'data.comment' parameter in all versions up to, and including, 9.3.07.003 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The double-encoded entity bypass works because wp_kses_post() and esc_js() both preserve the stored &#39; value intact, and it is only the subsequent wppa_compress_html() rewrite pass that collapses it to a browser-decoded literal single quote capable of breaking out of the JavaScript string. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- security@wordfence.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@wordfence.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| CVE List | Wordfence | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | opajaap | WP Photo Album Plus | <= 9.3.07.003 |
References
- https://plugins.trac.wordpress.org/browser/wp-photo-album-plus/tags/9.3.07.003/wppa-ajax.php#L531
- https://plugins.trac.wordpress.org/browser/wp-photo-album-plus/tags/9.3.07.003/wppa-boxes-html.php#L294
- https://plugins.trac.wordpress.org/browser/wp-photo-album-plus/tags/9.3.07.003/wppa-filter.php#L768
- https://plugins.trac.wordpress.org/browser/wp-photo-album-plus/tags/9.3.07.003/wppa-functions.php#L2627
- https://plugins.trac.wordpress.org/browser/wp-photo-album-plus/tags/9.3.07.003/wppa-input.php#L360
- https://plugins.trac.wordpress.org/browser/wp-photo-album-plus/tags/9.3.07.003/wppa-utils.php#L5259
- https://plugins.trac.wordpress.org/browser/wp-photo-album-plus/tags/9.3.07.003/wppa-wpdb-insert.php#L221
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3815127%40wp-photo-album-plus&new=3815127%40wp-photo-album-plus
- https://www.wordfence.com/threat-intel/vulnerabilities/id/87a4ec1e-00b5-4a64-a134-cf5f20a1a289?source=cve
History
- 3 Dec 2026 17:56 UTC · NVD: updated (other details)
- 3 Dec 2026 16:56 UTC · CVE List: updated (other details)
- 3 Dec 2026 09:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 07:07 UTC · CVE List: first stored (published 3 Dec 2026)