Bonbon WordPress Theme CVE-2026-28030
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify WordPress site with Bonbon theme ≤1.6
-
DeliverySend crafted request with path traversal to theme endpoint
-
ExploitInclude arbitrary PHP files from server filesystem
-
ExecutionRead sensitive configuration files or execute injected code
-
ImpactExfiltrate credentials or establish persistence
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Command and Control The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target WordPress site to be running ThemeREX Bonbon theme version 1.6 or earlier with the vulnerable theme code active and accessible. The high attack complexity (AC:H) in the CVSS vector indicates specific technical conditions must be met: the vulnerable file inclusion endpoint must be reachable without authentication (PR:N confirmed), but likely requires knowledge of the exact vulnerable PHP file path within the theme structure or specific parameter names that trigger the file inclusion flaw. PHP configuration impacts exploitability - while local file inclusion works in default configurations, escalation to remote code execution requires allow_url_include to be enabled (disabled by default in PHP 5.2.0+, limiting attack scope). Web server file system permissions affect which files can be read via LFI. No user interaction required (UI:N) means automated scanning and exploitation is possible once the vulnerable endpoint is identified. The vulnerability is NOT exploitable against sites using different WordPress themes, limiting the attack surface to the subset of WordPress installations specifically using Bonbon theme versions through 1.6. |
| Impact | Real-world risk assessment reveals conflicting signals requiring careful interpretation. The CVSS 8.1 score indicates high severity with network attack vector (AV:N), no privileges required (PR:N), and high impact to confidentiality, integrity, and availability. However, attack complexity is rated HIGH (AC:H), suggesting specific conditions must be met for successful exploitation. The EPSS score of 0.15% (36th percentile) indicates low probability of exploitation in the wild, contradicting the high CVSS severity. No CISA KEV listing confirms this is not being actively exploited at scale. The vulnerability's practical risk depends heavily on whether the theme is actively used in production - ThemeREX themes have limited market share compared to mainstream WordPress themes. Tagged as both LFI and Information Disclosure, the actual exploitability hinges on PHP configuration (allow_url_fopen, allow_url_include settings), file system permissions, and whether the vulnerable code path is reachable without authentication. Priority should be medium for organizations using this specific theme, but low for general WordPress security programs given the narrow affected product base and low EPSS probability. |
| Exploit ScenarioDerived | An unauthenticated remote attacker identifies a WordPress site running the vulnerable Bonbon theme version 1.6 through version enumeration via publicly accessible style.css metadata. The attacker crafts HTTP requests to theme endpoints that accept file path parameters, injecting directory traversal sequences to escape the intended theme directory and access sensitive files such as /etc/passwd, wp-config.php (containing database credentials), or other PHP configuration files. If PHP is configured with allow_url_include enabled, the attacker escalates to remote code execution by including remotely hosted malicious PHP files. The high attack complexity (AC:H) suggests exploitation requires knowledge of specific vulnerable endpoints within the theme code or favorable PHP configuration conditions that are not universally present. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 23, 2026
Local file inclusion in ThemeREX Bonbon WordPress theme through version 1.6 enables remote attackers to read arbitrary files from the web server filesystem and potentially execute PHP code. Reported by Patchstack audit team with a 0.15% EPSS score (low exploitation probability), this vulnerability allows unauthenticated network-based attacks despite high complexity requirements. No active exploitation confirmed via CISA KEV, though the LFI attack pattern is well-understood by attackers. PHP-based themes with improper include/require statement controls are common attack surfaces in WordPress environments.
Earlier versions of this analysis (1)
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThemeREX Bonbon bonbon allows PHP Local File Inclusion.This issue affects Bonbon: from n/a through <= 1.6. [CVSS 8.1 HIGH]
RemediationAI
Update ThemeREX Bonbon theme to version 1.6.1 or later if a patched version has been released by the vendor. Check the Patchstack vulnerability database at https://patchstack.com/database/Wordpress/Theme/bonbon/vulnerability/wordpress-bonbon-theme-1-6-local-file-inclusion-vulnerability for updated patch information and vendor response. If no patch is available or immediate update is not feasible, implement the following compensating controls: Disable the Bonbon theme and switch to a maintained alternative WordPress theme until patches are available. If the theme must remain active, implement Web Application Firewall (WAF) rules to block requests containing directory traversal sequences (../, ..../, %2e%2e%2f, etc.) in URL parameters and POST data, though this may break legitimate theme functionality if file paths are used in normal operations. Restrict PHP file inclusion capabilities by ensuring allow_url_include is set to Off in php.ini configuration, preventing remote file inclusion escalation (note: this is typically disabled by default in modern PHP but should be verified). Review web server access logs for suspicious requests containing file path manipulation attempts targeting the theme directory (typically /wp-content/themes/bonbon/). Each mitigation carries trade-offs: theme switching disrupts site appearance and may require redesign work; WAF rules risk false positives blocking legitimate requests; PHP configuration changes are server-wide and require hosting provider access.
Affected ProductsAI
ThemeREX Bonbon WordPress theme versions from earliest available release through version 1.6 are confirmed vulnerable based on Patchstack database records. The vulnerability exists in the theme's PHP code handling file inclusion operations. WordPress installations using Bonbon theme version 1.6 or earlier are at risk. No CPE identifiers provided in available data. Vendor advisory and detailed technical analysis available at Patchstack database reference link. Organizations should inventory WordPress sites to identify any installations using the Bonbon theme and check active theme version via WordPress admin dashboard under Appearance > Themes.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a PHP Local File Inclusion (LFI) vulnerability caused by improper control of filename parameters in include or require statements, classified under CWE-98. The Bonbon WordPress theme, developed by ThemeREX, fails to properly sanitize user-supplied input before using it in file inclusion functions. In PHP applications, when user-controllable data is passed directly to include(), require(), include_once(), or require_once() functions without adequate validation, attackers can manipulate file paths to access files outside the intended directory. While tagged as LFI, the CWE-98 classification 'PHP Remote File Inclusion' suggests potential for both local and remote file inclusion depending on PHP configuration settings like allow_url_include. The vulnerability exists in theme code rather than WordPress core, affecting sites using Bonbon versions up to and including 1.6.
Know when PHP 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:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThemeREX Bonbon bonbon allows PHP Local File Inclusion.This issue affects Bonbon: from n/a through <= 1.6.
Executive ViewAI
ThemeREX Bonbon WordPress theme versions up to 1.6 contain a local file inclusion vulnerability that allows attackers to read sensitive files and potentially execute code on affected web servers. Organizations using this theme face direct risk to application confidentiality and integrity until the theme is updated or replaced, with no vendor patch currently available.
No vendor-released patch identified at time of analysis. Interim mitigations: Deploy Web Application Firewall (WAF) rules targeting LFI patterns in theme requests; restrict web server filesystem permissions to limit readable files; monitor access logs for suspicious file:// or ../ path traversal patterns; consider disabling PHP execution in theme directories via .htaccess (php_flag engine off) if operationally feasible; immediately replace theme with alternative from official WordPress repository.
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
Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB