ZeroHour

CVE-2026-18579

moderate

Unauthenticated Stored XSS in WP Photo Album Plus WordPress Plugin

CVSS 3.1
7.2 high
EPSS
Published
()
Modified
AI analysis

WP Photo Album Plus, a WordPress photo gallery plugin, is vulnerable to stored cross-site scripting in all versions up to and including 9.2.08.003 because it fails to sufficiently sanitize and escape the attacker-controlled HTTP X-Forwarded-For header. An unauthenticated attacker sends a request to the wp_ajax_nopriv_wppa endpoint invoking the getshortcodedrenderedfenodelay action with a crafted X-Forwarded-For value; a deliberately failed nonce check acts as the log-write trigger rather than an access barrier, causing the plugin's wppa_log() routine to write the malicious header value to its log on disk. The injected script then executes whenever a user, such as an administrator viewing pages that render the plugin's stored log output, accesses an injected page, letting the attacker run arbitrary web script in that user's browser session. Any WordPress site running WP Photo Album Plus version 9.2.08.003 or earlier is affected, with practical exposure concentrated on sites where the plugin's logged data is rendered to privileged users. As of this analysis the flaw is not in the CISA KEV catalog, no public proof-of-concept is known, and no confirmed in-the-wild exploitation has been reported.

What to do: Update WP Photo Album Plus to the latest release beyond version 9.2.08.003 as soon as practical. As interim mitigation, filter or normalize unusual X-Forwarded-For values at the proxy or WAF layer and consider restricting unauthenticated admin-ajax.php requests targeting the plugin's wppa action. After upgrading, review and clear the plugin's log entries for injected HTML/script tags delivered via X-Forwarded-For and check recent admin sessions for signs of compromise.

Affected
WP Photo Album Plus WordPress plugin (wp-photo-album-plus)All versions up to and including 9.2.08.003
Estimated exposure
moderateapprox. 10,000-20,000 active plugin installs (order of magnitude 10^4); likely fewer sites actually exploitable — Based on the WP Photo Album Plus listing in the WordPress.org plugin directory, which has shown on the order of 10,000+ active installations; not all of those sites run an affected version or render the plugin's log output, so the truly…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

The WP Photo Album Plus plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'HTTP_X_FORWARDED_FOR' parameter in all versions up to, and including, 9.2.08.003 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The nonce failure path for the getshortcodedrenderedfenodelay action serves as the log-write trigger rather than an access barrier — a deliberately failed nonce check causes wppa_log() to record the attacker-supplied X-Forwarded-For value to disk, making the exploit fully reachable by unauthenticated callers via the wp_ajax_nopriv_wppa endpoint.

Ecosystems
WordPress
Weakness
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

In the news

No ingested article mentions this CVE yet.