Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2026-57732

CVE-2026-57732: tagDiv Opt-In Builder XSS Vulnerability

CVE-2026-57732 is a DOM-based cross-site scripting flaw in tagDiv Opt-In Builder plugin that allows attackers to inject malicious scripts. This article covers the technical details, affected versions up to 1.7.4, and mitigation.

Published:

CVE-2026-57732 Overview

CVE-2026-57732 is a DOM-based Cross-Site Scripting (XSS) vulnerability in the tagDiv Opt-In Builder WordPress plugin (td-subscription). The flaw affects all plugin versions up to and including 1.7.4 and stems from improper neutralization of user-controlled input during web page generation [CWE-79].

An unauthenticated attacker can craft a malicious URL or payload that, once processed by the vulnerable client-side code, executes arbitrary JavaScript in the victim's browser. Successful exploitation requires user interaction, such as clicking a specially crafted link.

Critical Impact

Attackers can execute arbitrary JavaScript in a victim's browser session, enabling session theft, credential harvesting, and defacement across WordPress sites running the vulnerable plugin.

Affected Products

  • tagDiv Opt-In Builder (td-subscription) plugin for WordPress
  • All versions from initial release through 1.7.4
  • WordPress sites using tagDiv's subscription and opt-in functionality

Discovery Timeline

  • 2026-07-13 - CVE-2026-57732 published to NVD
  • 2026-07-13 - Last updated in NVD database

Technical Details for CVE-2026-57732

Vulnerability Analysis

The vulnerability is a DOM-based XSS issue [CWE-79] in the tagDiv Opt-In Builder plugin. Client-side JavaScript within the plugin reads attacker-influenced input from sources such as URL fragments, query parameters, or other document properties. The code then writes that input into the DOM without proper sanitization or output encoding.

Because the injection occurs entirely in the browser, the malicious payload never needs to touch the server. Any WordPress site running td-subscription at version 1.7.4 or earlier renders attacker-supplied script when a user visits a crafted URL.

Exploitation requires user interaction, typically social-engineered link clicks. The scope is changed, meaning the injected script can reach resources beyond the plugin's own security boundary, including authenticated administrator sessions on the WordPress site.

Root Cause

The root cause is missing input neutralization in the plugin's client-side rendering logic. User-controlled data is passed to a DOM sink such as innerHTML, document.write, or a jQuery HTML manipulation method without escaping. This allows raw HTML and <script> constructs to be parsed and executed by the browser.

Attack Vector

An attacker crafts a URL containing a malicious payload targeting the vulnerable DOM sink. The attacker then delivers the link through phishing emails, forum posts, or malicious advertisements. When a victim clicks the link on a site running the vulnerable plugin, the payload executes with the victim's privileges. If the victim is a logged-in administrator, the attacker can perform actions such as creating new admin accounts, modifying content, or installing malicious plugins.

No authentication is required to trigger the flaw. The vulnerability manifests in the plugin's client-side subscription handling code. See the Patchstack WordPress Vulnerability Report for additional technical details.

Detection Methods for CVE-2026-57732

Indicators of Compromise

  • Unexpected <script> tags or event handler attributes rendered in pages served by the tagDiv Opt-In Builder plugin
  • Web server access logs showing requests to WordPress pages with unusual URL fragments or query parameters containing HTML or JavaScript syntax
  • Creation of new WordPress administrator accounts without corresponding admin activity
  • Outbound browser requests from site visitors to unknown domains shortly after visiting pages with the plugin

Detection Strategies

  • Inspect installed WordPress plugins and flag any td-subscription version at or below 1.7.4
  • Monitor referrer and URL parameter patterns for encoded script payloads such as javascript:, onerror=, or <script
  • Review browser Content Security Policy (CSP) violation reports for inline script executions on pages that host the plugin

Monitoring Recommendations

  • Enable WordPress audit logging to capture unexpected administrative changes and user role modifications
  • Deploy a Web Application Firewall (WAF) rule set that inspects query strings and URL fragments for XSS signatures
  • Correlate anomalous client-side activity with endpoint telemetry to identify follow-on browser-based compromise

How to Mitigate CVE-2026-57732

Immediate Actions Required

  • Identify all WordPress installations running the tagDiv Opt-In Builder (td-subscription) plugin and inventory their versions
  • Disable or remove the plugin on any site running version 1.7.4 or earlier until a fixed release is applied
  • Rotate WordPress administrator credentials and invalidate active sessions on affected sites
  • Review recent administrator activity for signs of unauthorized changes

Patch Information

At the time of publication, the CVE record lists affected versions from initial release through 1.7.4. Site operators should consult the Patchstack WordPress Vulnerability Report and the tagDiv vendor channels for the latest fixed release and upgrade guidance.

Workarounds

  • Deactivate the td-subscription plugin until an updated version is available
  • Deploy a WAF rule that blocks requests containing common XSS payload signatures targeting the plugin's endpoints
  • Enforce a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins
  • Restrict administrator access to trusted IP ranges to limit the impact of a hijacked session
bash
# Configuration example: enforce a restrictive Content Security Policy in Apache
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.