ConicPlex

Start Your Project

An open laptop glowing WordPress blue on a desk beside a blank visitor name badge, representing a wpDiscuz commenter-name XSS flaw

On this Page

wpDiscuz Vulnerability Lets Commenter Names Run Script in WordPress (CVE-2026-119366)

wpDiscuz 7.6.74 fixes a stored XSS vulnerability (CVE-2026-119366) where a commenter name built around curly-brace placeholders could run JavaScript for moderators and site visitors.

wpDiscuz, the WordPress comment plugin running on more than 60,000 sites, shipped version 7.6.74 on October 29, 2026 to fix a stored cross-site scripting bug tracked as CVE-2026-119366. Every version through 7.6.73 is affected. The wpDiscuz vulnerability lets an attacker submit a comment under a crafted name that the plugin runs as a template fragment instead of showing as text, so embedded script executes for anyone who views it. If you run wpDiscuz, update to 7.6.74 now.

How the wpDiscuz Vulnerability Works

wpDiscuz uses curly-brace placeholders like {TEXT} internally to build parts of its comment templates. The researcher who reported the issue to Patchstack, known as AndrewN, found that the plugin never checked whether a visitor’s own commenter name also contained braces before rendering it. Submit a comment with a name built around that same placeholder syntax, and wpDiscuz treats the name as part of the template rather than plain text, letting the embedded script run.

That makes the bug easy to trigger. Patchstack and the National Vulnerability Database both list it as unauthenticated: no account on the site is needed, and the commenter name field does all the work on its own. The one real barrier is that a person has to view the comment, whether that’s a moderator checking the pending queue or a visitor loading the page after it’s approved. NVD scores it 7.1, High, under CVSS 3.1, vector AV:N/AC:L/PR:N/UI:R.

Who Should Patch This wpDiscuz Vulnerability

Any site running wpDiscuz for comments is exposed, regardless of whether moderation is turned on. Sites that auto-approve comments are worse off, since the script then runs for every visitor who loads the page rather than just the moderator reviewing the queue first. The fix is straightforward: update to wpDiscuz 7.6.74, which now renders any commenter name containing braces as plain text. If an immediate update isn’t possible, switching comment moderation to manual review limits the exposure to logged-in staff until the plugin is patched, though it doesn’t close the hole on its own.

It’s also a useful reminder that a plugin’s real attack surface includes every field a visitor controls, right down to a name box most people assume is harmless. A WordPress Development audit or ongoing Plugin Development support is what usually catches a gap like this in third-party code before it turns into a filed CVE.

Sources

Aftab Memon is a Senior WordPress Developer at ConicPlex, working across everything from plugin conflicts and theme customization to full site builds on Elementor and WooCommerce. He spends most of his time in the parts of WordPress that don’t show up in a features list: hosting quirks, hook priority, the difference between a plugin that works in isolation and one that survives a real production stack. He writes here about what actually holds up once a WordPress site is live and being run by a non-technical client, not just what works in a demo.

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep reading

Software

Illustration of photos flowing through a funnel into a storage cloud, representing an image CDN transforming and caching photo variants for a mobile app

Why a Photo-Sharing App Needs More Than a Supabase Bucket

A photo-sharing app that stores every image in a single Supabase bucket works fine in a demo and starts costing…

Sajil Memon

November 25, 2026

Plugins

Illustration of two customer cards connected by a looping referral arrow with a reward badge, representing a WooCommerce refer-a-friend program

How to Add a Refer-a-Friend Program to WooCommerce (3 Plugins Compared)

WooCommerce has no built-in way to turn a happy customer into a recruiter. The moment someone loves what they bought…

Husen Memon

November 25, 2026

Platforms

Illustration of a shipping package splitting into two rule-tagged paths, representing conditional WooCommerce shipping logic

WooCommerce Shipping Rules: Why Zones Break Down and What to Build Instead

WooCommerce’s built-in shipping zones can’t handle conditional rules like category-based free shipping. Here’s when a table-rate plugin is enough, and…

Aftab Memon

November 24, 2026

WhatsApp
Husen Memon
Husen Memon
Typically replies instant