CVE-2026-15158: CWE-434 Unrestricted Upload of File with Dangerous Type in creativethemeshq Blocksy Companion
The Blocksy Companion plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 2.1.46 via the save_attachments function. This is due to the Custom Fonts extension registering a wp_check_filetype_and_ext filter that approves any filename containing .woff2 or .ttf as a substring via strpos() rather than validating that those strings appear as the final extension via PATHINFO_EXTENSION — allowing double-extension filenames such as shell.woff2.php to pass MIME validation and be handled as permitted font files. This makes it possible for unauthenticated attackers to upload files that may be executable, which makes remote code execution possible. This vulnerability is only exploitable when the premium version of the plugin (blocksy-companion-pro) is installed with both the WooCommerce Extra (Advanced Reviews) and Custom Fonts extensions active; the free blocksy-companion plugin does not contain the vulnerable code paths.
AI Analysis
Technical Summary
CVE-2026-15158 is an arbitrary file upload vulnerability in the Blocksy Companion WordPress plugin, specifically in the premium version with WooCommerce Extra (Advanced Reviews) and Custom Fonts extensions enabled. The vulnerability arises from improper validation in the save_attachments function, where the Custom Fonts extension uses strpos() to check for .woff2 or .ttf substrings anywhere in filenames rather than validating the actual file extension. This allows attackers to upload files with double extensions like shell.woff2.php, which pass MIME validation and are treated as permitted font files, enabling potential remote code execution by unauthenticated users.
Potential Impact
Successful exploitation allows unauthenticated attackers to upload arbitrary files that may be executable on the server, leading to full remote code execution. This compromises confidentiality, integrity, and availability of the affected system. The vulnerability is critical with a CVSS score of 9.8, indicating high exploitability and severe impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should disable the premium Blocksy Companion plugin or the affected extensions (WooCommerce Extra and Custom Fonts) to mitigate risk. Monitoring vendor channels for updates is strongly recommended.
CVE-2026-15158: CWE-434 Unrestricted Upload of File with Dangerous Type in creativethemeshq Blocksy Companion
Description
The Blocksy Companion plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 2.1.46 via the save_attachments function. This is due to the Custom Fonts extension registering a wp_check_filetype_and_ext filter that approves any filename containing .woff2 or .ttf as a substring via strpos() rather than validating that those strings appear as the final extension via PATHINFO_EXTENSION — allowing double-extension filenames such as shell.woff2.php to pass MIME validation and be handled as permitted font files. This makes it possible for unauthenticated attackers to upload files that may be executable, which makes remote code execution possible. This vulnerability is only exploitable when the premium version of the plugin (blocksy-companion-pro) is installed with both the WooCommerce Extra (Advanced Reviews) and Custom Fonts extensions active; the free blocksy-companion plugin does not contain the vulnerable code paths.
CVSS v3.1
Score 9.8critical
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-15158 is an arbitrary file upload vulnerability in the Blocksy Companion WordPress plugin, specifically in the premium version with WooCommerce Extra (Advanced Reviews) and Custom Fonts extensions enabled. The vulnerability arises from improper validation in the save_attachments function, where the Custom Fonts extension uses strpos() to check for .woff2 or .ttf substrings anywhere in filenames rather than validating the actual file extension. This allows attackers to upload files with double extensions like shell.woff2.php, which pass MIME validation and are treated as permitted font files, enabling potential remote code execution by unauthenticated users.
Potential Impact
Successful exploitation allows unauthenticated attackers to upload arbitrary files that may be executable on the server, leading to full remote code execution. This compromises confidentiality, integrity, and availability of the affected system. The vulnerability is critical with a CVSS score of 9.8, indicating high exploitability and severe impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should disable the premium Blocksy Companion plugin or the affected extensions (WooCommerce Extra and Custom Fonts) to mitigate risk. Monitoring vendor channels for updates is strongly recommended.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-07-08T20:08:13.444Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4f678568715ace430cb609
Added to database: 07/09/2026, 09:19:01 UTC
Last enriched: 07/09/2026, 09:32:37 UTC
Last updated: 07/09/2026, 19:47:31 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.