Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-49894 Overview
CVE-2025-49894 is a PHP Local File Inclusion (LFI) vulnerability affecting the uxper Nuss WordPress theme. The flaw stems from improper control of filenames used in PHP include or require statements [CWE-98]. Attackers can abuse this weakness to load arbitrary local PHP files through the vulnerable theme, leading to code execution within the WordPress process. The vulnerability affects all Nuss theme versions up to and including 1.3.3. The issue was published to the National Vulnerability Database (NVD) on August 20, 2025, and tracked through Patchstack's WordPress vulnerability database.
Critical Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary PHP code on the WordPress server, compromising confidentiality, integrity, and availability of the site.
Affected Products
- uxper Nuss WordPress theme versions up to and including 1.3.3
- WordPress installations using the vulnerable Nuss theme
- Any site deploying Nuss theme files reachable over the network
Discovery Timeline
- 2025-08-20 - CVE-2025-49894 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-49894
Vulnerability Analysis
The Nuss theme accepts user-controlled input and passes it to a PHP file inclusion construct without adequate sanitization or allowlisting. PHP file inclusion functions such as include, include_once, require, and require_once execute any PHP code contained in the referenced file. When attacker-controlled data reaches these functions, the server loads files chosen by the attacker. The weakness is categorized under CWE-98: Improper Control of Filename for Include/Require Statement, commonly referred to as PHP Remote File Inclusion. In this case, the exploitable path is Local File Inclusion, meaning the attacker references files already present on the server or uploaded through another route.
Root Cause
The root cause is missing input validation on a parameter that resolves to a filesystem path consumed by a PHP inclusion function. The theme does not restrict the filename to a safe allowlist, does not canonicalize the path, and does not enforce a fixed base directory. Any string reaching the vulnerable sink is treated as a file path for execution.
Attack Vector
The vulnerability is reachable over the network and requires no authentication or user interaction, though successful exploitation requires specific conditions. An attacker crafts an HTTP request supplying a path to a PHP file that already resides on the server. When the Nuss theme includes that file, the PHP interpreter executes its contents in the context of the web server user. See the Patchstack Nuss Theme Vulnerability advisory for additional technical details.
Detection Methods for CVE-2025-49894
Indicators of Compromise
- HTTP requests to Nuss theme endpoints containing path traversal sequences such as ../ or absolute filesystem paths
- Unexpected PHP files appearing in WordPress upload directories (wp-content/uploads/)
- Web server access logs showing requests referencing /etc/passwd, wp-config.php, or PHP wrappers like php://filter
- New administrator accounts or modifications to theme and plugin files following suspicious inclusion requests
Detection Strategies
- Inspect WordPress access logs for query parameters resolving to filesystem paths or PHP source files
- Enable PHP error logging and alert on include/require warnings referencing unexpected files
- Deploy a Web Application Firewall (WAF) ruleset covering LFI patterns, including null byte injection and PHP stream wrappers
- Monitor for outbound traffic initiated by the PHP-FPM process to unknown hosts after a suspicious request
Monitoring Recommendations
- Record file integrity baselines for WordPress core, the Nuss theme directory, and the uploads folder
- Alert on changes to wp-config.php, .htaccess, and any PHP file under wp-content/themes/nuss/
- Correlate web request logs with process execution telemetry to identify PHP spawning shells or interpreters
How to Mitigate CVE-2025-49894
Immediate Actions Required
- Identify every WordPress site running the Nuss theme at version 1.3.3 or earlier
- Disable or remove the Nuss theme on affected sites until a patched version is confirmed installed
- Rotate WordPress administrator credentials, API keys, and database passwords if exploitation is suspected
- Review installed plugins, themes, and user accounts for unauthorized modifications
Patch Information
At the time of publication, the Patchstack advisory lists Nuss versions through 1.3.3 as vulnerable. Monitor the Patchstack advisory and the vendor channel for a fixed release and apply it immediately once available.
Workarounds
- Block external access to vulnerable Nuss theme endpoints at the WAF or reverse proxy layer
- Set PHP open_basedir to restrict file inclusion to the WordPress document root
- Disable PHP stream wrappers such as allow_url_include and allow_url_fopen in php.ini
- Apply a virtual patch through a WordPress security plugin that filters LFI payloads on theme request parameters
# php.ini hardening to limit file inclusion abuse
allow_url_include = Off
allow_url_fopen = Off
open_basedir = "/var/www/html:/tmp"
disable_functions = "exec,passthru,shell_exec,system,proc_open,popen"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

