
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-28062 is a PHP Local File Inclusion (LFI) vulnerability in the ThemeREX Happy Baby WordPress theme, classified under CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program). It affects Happy Baby theme versions up to and including 1.2.12, allowing unauthenticated remote attackers to include arbitrary files on the server. The vulnerability was published on March 5, 2026, and was reported by Patchstack. It carries a CVSS v3.1 base score of 8.1 (High) (Feedly, Patchstack).
The root cause is improper control of user-supplied filenames used in PHP include/require statements (CWE-98), which enables both Local File Inclusion (LFI) and potentially Remote File Inclusion (RFI) attacks. An unauthenticated attacker can craft a network request that manipulates a filename parameter accepted by the theme, causing the PHP interpreter to include arbitrary files from the server's filesystem. Exploitation requires no privileges and no user interaction, though attack complexity is rated High, suggesting some precondition or bypass is needed (e.g., specific server configuration or path traversal technique). No public proof-of-concept code has been identified at this time (Feedly, Patchstack).
Successful exploitation can result in high confidentiality, integrity, and availability impacts. An attacker could read sensitive server files such as WordPress configuration files (wp-config.php) containing database credentials, inject malicious content, or — depending on server configuration and available writable files — achieve remote code execution. This could facilitate full site compromise, credential theft, and potential lateral movement within the hosting environment (Feedly).
There is currently no public proof-of-concept exploit and no evidence of in-the-wild exploitation reported. The vulnerability has an EPSS score of approximately 0.053% (0.000530), indicating a low probability of exploitation in the near term. It has not been added to the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been identified (Feedly).
style.css files.file, template, or page parameter in a theme function).?file=../../../../wp-config.php or ?file=../../../../etc/passwd.wp-config.php.allow_url_include enabled or writable directories with attacker-controlled content (e.g., uploaded files), attempt to include a PHP web shell to achieve remote code execution (Feedly).../, ..%2F, %2e%2e%2f) in filename-related parameters; requests referencing sensitive paths like wp-config.php or /etc/passwd.curl, wget, bash) that may indicate successful code execution following LFI exploitation (Feedly).The primary remediation is to upgrade the ThemeREX Happy Baby theme to a version newer than 1.2.12; however, no specific patched version has been confirmed in available data. As interim mitigations: disable PHP's allow_url_include directive in php.ini to prevent remote file inclusion; implement strict server-side input validation on any user-controlled filename parameters; deploy Web Application Firewall (WAF) rules to detect and block LFI/RFI patterns; and restrict file system permissions to limit the files accessible via PHP inclusion. Monitor application logs for path traversal attempts (Feedly, Patchstack).
The vulnerability was noted in the Wordfence Intelligence Weekly WordPress Vulnerability Report covering the period of February 23 – March 1, 2026, indicating it received standard coverage within the WordPress security community. No significant independent researcher commentary, vendor statements beyond the Patchstack advisory, or notable social media discussion has been identified (Wordfence).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."