CVE-2026-135047 in File Upload Plugin
Summary
by MITRE • 11/25/2026
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Nickboss WordPress File Upload wp-file-upload allows Stored XSS.This issue affects WordPress File Upload: from n/a through 5.3.1.
Be aware that VulDB is the high quality source for vulnerability data.
Analysis
by VulDB Data Team • 11/25/2026
The identified security flaw represents a classic instance of Improper Neutralization of Input During Web Page Generation, commonly known as Cross-Site Scripting or XSS. Specifically, this vulnerability is classified under the CWE-79 standard and manifests within the Nickboss WordPress File Upload plugin, affecting versions ranging from its initial release through version 5.3.1. The core technical deficiency lies in the application's failure to adequately sanitize user-supplied input before it is rendered back into the web page context. In a typical file upload scenario, users provide metadata such as filenames or descriptions which are then stored and subsequently displayed on public-facing pages. When these inputs contain malicious script payloads rather than benign text, the browser interprets them as executable code due to insufficient encoding or escaping mechanisms in the output generation process.
This specific implementation results in a Stored XSS vulnerability, which is considered more severe than reflected variants because the malicious payload is permanently saved within the application's database or file system. Consequently, every user who views the affected page containing the tainted data will execute the injected script without any direct interaction with the attacker beyond simply loading the webpage. This persistence allows for long-term exploitation where the attack does not require complex social engineering to trigger a single instance but rather relies on routine site usage by victims. The operational impact is significant, as successful exploitation can lead to session hijacking through cookie theft, defacement of the website content, redirection to malicious phishing sites, or even keylogging if the script captures keystrokes within administrative interfaces.
From an adversary perspective, this vulnerability aligns with several tactics and techniques outlined in the MITRE ATT&CK framework. It primarily supports the Execution technique via Browser Scripting, where attackers leverage client-side scripts to run arbitrary commands on a victim's machine. Furthermore, it facilitates Credential Access by stealing session tokens or cookies that grant unauthorized access to user accounts. In environments where administrative privileges are targeted, this flaw can serve as an initial vector for further compromise, potentially leading to full server control if combined with other vulnerabilities such as privilege escalation flaws within the WordPress core or theme files.
Mitigation strategies must address both immediate remediation and long-term security hygiene. The most effective solution is to upgrade the Nickboss WordPress File Upload plugin to a version later than 5.3.1, where developers have presumably implemented proper input validation and output encoding practices. For organizations unable to patch immediately due to compatibility constraints or deployment cycles, temporary mitigations include implementing Web Application Firewall rules that detect and block common XSS payload patterns in file upload fields. Additionally, enforcing strict Content Security Policy headers can restrict the execution of inline scripts, thereby neutralizing many stored XSS attacks even if they are successfully injected into the database. Regular security audits and code reviews focusing on data flow from input sources to output sinks are essential to prevent similar flaws in future development cycles.