# CVE-2026-137124: WP Photo Album Plus \<= 9.3.07.003 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Comment Field

- **Severity:** MEDIUM 5.4
- **CVSS:** 5.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **CWE:** CWE-79
- **Aliases:** WF-87a4ec1e-00b5-4a64-a134-cf5f20a1a289
- **Published:** 2026-12-02T18:25:35.000Z
- **Modified:** 2026-12-03T07:17:23.037Z

## Who should check

- Projects that depend on WordPress package wp-photo-album-plus (\<= 9.3.07.003)
- Anyone running opajaap WP Photo Album Plus \<= 9.3.07.003

## Description

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 &amp;amp;\#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.

## Affected and fixed versions

- WordPress `wp-photo-album-plus`: affected \<= 9.3.07.003; fixed 9.3.08.001 (wordfence)
- opajaap WP Photo Album Plus: \<= 9.3.07.003 (cvelist)

## Technologies

WordPress (AI-matched), WordPress plugins and themes

## Mitigation

- Upgrade wp-photo-album-plus to 9.3.08.001 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-137124. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-137124.md
Affected: wp-photo-album-plus <= 9.3.07.003
Fixed in: 9.3.08.001

Steps:
1. Search this machine and project for wp-photo-album-plus (WordPress), opajaap WP Photo Album Plus: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-137124 being exploited?

There is no confirmed exploitation: CVE-2026-137124 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-137124?

Medium: CVSS 5.4 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-137124?

wp-photo-album-plus \<= 9.3.07.003.

### Is there a fix for CVE-2026-137124?

Yes. Fixed in 9.3.08.001. Upgrade wp-photo-album-plus to 9.3.08.001 or later.

### How do I check if I'm affected by CVE-2026-137124?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- wordfence: <https://www.wordfence.com/threat-intel/vulnerabilities/id/87a4ec1e-00b5-4a64-a134-cf5f20a1a289?source=cve>
- wordfence: <https://www.wordfence.com/threat-intel/vulnerabilities/id/87a4ec1e-00b5-4a64-a134-cf5f20a1a289?source=api-prod>
- other: <https://plugins.trac.wordpress.org/browser/wp-photo-album-plus/tags/9.3.07.003/wppa-boxes-html.php#L294>
- other: <https://plugins.trac.wordpress.org/browser/wp-photo-album-plus/tags/9.3.07.003/wppa-utils.php#L5259>
- other: <https://plugins.trac.wordpress.org/browser/wp-photo-album-plus/tags/9.3.07.003/wppa-filter.php#L768>
- other: <https://plugins.trac.wordpress.org/browser/wp-photo-album-plus/tags/9.3.07.003/wppa-input.php#L360>
- other: <https://plugins.trac.wordpress.org/browser/wp-photo-album-plus/tags/9.3.07.003/wppa-wpdb-insert.php#L221>
- other: <https://plugins.trac.wordpress.org/browser/wp-photo-album-plus/tags/9.3.07.003/wppa-ajax.php#L531>
- other: <https://plugins.trac.wordpress.org/browser/wp-photo-album-plus/tags/9.3.07.003/wppa-functions.php#L2627>
- other: <https://plugins.trac.wordpress.org/changeset?reponame=&old=3815127%40wp-photo-album-plus&new=3815127%40wp-photo-album-plus>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-137124>
- Wordfence: This record contains material that is subject to copyright Copyright 2012-2026 Defiant Inc. <https://www.wordfence.com/threat-intel/vulnerabilities/id/87a4ec1e-00b5-4a64-a134-cf5f20a1a289?source=api-prod> (license: <https://www.wordfence.com/wordfence-intelligence-terms-and-conditions/>)

HTML: <https://flawdb.com/CVE-2026-137124> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-137124>
