Blocksy Companion <= 2.1.46 - Unauthenticated Arbitrary File Upload via 'blc-review-images[]' Parameter

9.8
Unrestricted Upload of File with Dangerous Type
CVE CVE-2026-15158
CVSS 9.8 (Critical)
Publicly Published July 1, 2026
Last Updated July 9, 2026
Researcher Nguyen Ba Khanh

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. CVE-2026-58480 is a duplicate of this CVE.

Learn more about Arbitrary File Upload vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Blocksy Companion

Software Type Plugin
Software Slug blocksy-companion (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.1.47, or a newer patched version
Affected Version
  • <= 2.1.46
Patched Version
  • 2.1.47

Recent vulnerabilities in Blocksy Companion

# Title CVE ID CVSS Researchers Date
1 Blocksy Companion <= 2.1.45 - Authenticated (Editor+) Stored Cross-Site Scripting via 'product_description' Parameter CVE-2026-12430 4.4 Pasindu Dilshan (K4PXD) June 18, 2026
2 Blocksy Companion <= 2.1.19 - Authenticated (Author+) Arbitrary File Upload via SVG Upload Bypass CVE-2025-12846 8.8 shark3y November 10, 2025
3 Blocksy Companion <= 2.1.14 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-12475 6.4 Rafshanzani Suhada October 6, 2025
4 Blocksy Companion <= 2.1.10 - Authenticated (Contributor+) Stored Cross-Site Scripting via blocksy_newsletter_subscribe Shortcode CVE-2025-9565 6.4 Muhammad Yudha - DJ September 16, 2025
5 Blocksy Companion <= 2.0.42 - Authenticated (Admin+) Server-Side Request Forgery CVE-2024-35633 5.5 Yuchen Ji May 30, 2024
6 Blocksy Companion <= 2.0.45 - Authenticated (Contributor+) Stored Cross-Site Scripting via SVG Uploads CVE-2024-4487 6.4 wesley (wcraft) May 10, 2024
7 Blocksy Companion <= 2.0.28 - Cross-Site Request Forgery CVE-2024-31932 5.3 R3N0 April 10, 2024
8 Blocksy Companion <= 2.0.31 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-2392 6.4 Ngô Thiên An (ancorn_) March 21, 2024
9 Blocksy Companion <= 1.8.81 - Authenticated(Subscriber+) Sensitive Information Exposure via blocksy_posts shortcode CVE-2023-1911 4.3 Erwan LR April 10, 2023
10 Blocksy Companion <= 1.8.67 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2023-23898 6.4 Rafshanzani Suhada January 27, 2023

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation