CVE-2026-116759 in WP Photo Album Plus Plugininfo

Summary

by MITRE • 11/26/2026

The WP Photo Album Plus plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'upn-name' parameter in all versions up to, and including, 9.3.06.002 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. This requires the plugin's Frontend Edit feature to be enabled by the site administrator, which allows photo owners to update photo names via the update-photo-new REST endpoint.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 11/26/2026

The vulnerability identified in WP Photo Album Plus versions up to and including 9.3.06.002 represents a significant security risk within WordPress environments that utilize this specific plugin for managing digital media libraries. The core of the issue lies in insufficient input sanitization and output escaping mechanisms when handling user-supplied data, specifically through the 'upn-name' parameter. This flaw allows malicious actors to inject arbitrary web scripts into stored content on the server side. Unlike reflected cross-site scripting where payload execution is tied to a specific request, this stored variant persists within the database or file system of the application. Consequently, every time an authorized user views the affected page containing the injected script, the malicious code executes in their browser context, potentially leading to session hijacking, credential theft, defacement, or further propagation of malware across the site's ecosystem.

The attack vector for this vulnerability is strictly limited to authenticated users who possess subscriber-level access and above within the WordPress environment. This requirement means that an external attacker cannot exploit this flaw directly without first compromising a legitimate user account with at least basic privileges. However, once such access is obtained, the threat level escalates considerably because the injected script becomes persistent. The exploitation relies on the plugin's Frontend Edit feature being enabled by the site administrator. When active, this feature permits photo owners to update metadata associated with their images via a specific REST endpoint known as 'update-photo-new'. By manipulating the 'upn-name' parameter during an upload or edit operation through this endpoint, an attacker can embed malicious JavaScript code that bypasses standard security checks due to the lack of proper encoding before storage and subsequent rendering.

From an operational impact perspective, successful exploitation allows attackers to perform actions on behalf of victims who view the compromised pages. This includes stealing session cookies, which could lead to full account takeover if combined with other techniques like cross-site request forgery or network interception. It also enables phishing attacks where users are redirected to malicious sites mimicking legitimate WordPress interfaces. Furthermore, persistent scripts can be used to deface public-facing content, damaging the reputation of the website owner and eroding trust among visitors. The persistence of the payload means that even if the initial access point is secured, previously injected payloads continue to pose a threat until they are manually removed from the database or affected files.

To mitigate this vulnerability, immediate action should be taken by upgrading WP Photo Album Plus to a version later than 9.3.06.002 where these sanitization and escaping issues have been addressed by the developers. If an upgrade is not immediately feasible, administrators can temporarily disable the Frontend Edit feature to prevent access via the vulnerable 'update-photo-new' REST endpoint. Additionally, implementing strict Content Security Policy headers can help mitigate the impact of any successfully injected scripts by restricting the sources from which executable content can be loaded. Regular security audits and code reviews focusing on input validation for all user-controllable parameters are essential practices to prevent similar issues in future updates or other plugins within the WordPress ecosystem.

This vulnerability aligns with Common Weakness Enumeration CWE-79, known as Improper Neutralization of Input During Web Page Generation commonly referred to as Cross-site Scripting. Specifically, it falls under Stored XSS where malicious scripts are permanently stored on target servers. In terms of tactical classification according to MITRE ATT&CK framework, this activity corresponds to T1059 Command and Control via Application Layer Protocol if the script is used for beaconing, or more broadly within Initial Access techniques involving compromised credentials combined with Execution tactics through browser-based scripting. Understanding these classifications helps in mapping defense strategies that focus on both preventing initial access and detecting anomalous behavior indicative of stored payload execution.

Responsible

Wordfence

Reservation

10/26/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00354

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!