Blocksy Companion <= 2.1.58 - Unauthenticated Privilege Escalation to 'role' Parameter

9.1
Improper Privilege Management
CVE CVE-2026-107645
CVSS 9.1 (Critical)
Publicly Published October 9, 2026
Last Updated October 10, 2026
Researcher Sawyer

Description

The Blocksy Companion plugin for WordPress is vulnerable to privilege escalation in versions up to, and including, 2.1.58 This is due to the implement_user_registration() AJAX handler explicitly disabling Dokan's vendor-registration nonce check (via add_filter('dokan_register_nonce_check', '__return_false')) and then trusting an attacker-supplied $_POST['role'] value when invoking wc_create_new_customer() and wc_set_customer_auth_cookie(). This makes it possible for unauthenticated attackers to elevate their privileges to a Dokan 'seller' (vendor) account — including sites where the Dokan vendor signup is explicitly turned off — and to be auto-authenticated into that account, which grants publishing capabilities beyond those of a normal customer.

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.59, or a newer patched version
Affected Version
  • <= 2.1.58
Patched Version
  • 2.1.59

Recent vulnerabilities in Blocksy Companion

# Title CVE ID CVSS Researchers Date
1 Blocksy Companion <= 2.1.60 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2026-65444 6.4 Jacek Sowiński (dzaku) October 30, 2026
2 Blocksy Companion <= 2.1.55 - Missing Authorization CVE-2026-97247 5.3 Asim Alshaya September 24, 2026
3 Blocksy Companion <= 2.1.51 - Authenticated (Author+) Stored Cross-Site Scripting via 'tagName' Block Attribute (blocksy/dynamic-data) CVE-2026-18488 6.4 haofanjiukunle August 31, 2026
4 Blocksy Companion <= 2.1.46 - Unauthenticated Arbitrary File Upload via 'blc-review-images[]' Parameter CVE-2026-15158 9.8 Nguyen Ba Khanh July 1, 2026
5 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
6 Blocksy Companion <= 2.1.19 - Authenticated (Author+) Arbitrary File Upload via SVG Upload Bypass CVE-2025-12846 8.8 shark3y November 10, 2025
7 Blocksy Companion <= 2.1.14 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-12475 6.4 Rafshanzani Suhada October 6, 2025
8 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
9 Blocksy Companion <= 2.0.42 - Authenticated (Admin+) Server-Side Request Forgery CVE-2024-35633 5.5 Yuchen Ji May 30, 2024
10 Blocksy Companion <= 2.0.45 - Authenticated (Contributor+) Stored Cross-Site Scripting via SVG Uploads CVE-2024-4487 6.4 wesley (wcraft) May 10, 2024

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