Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS score of 6.4 (Medium severity) reflects a moderate real-world risk profile with specific contextual constraints. The CVSS vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) indicates network-based attack with low complexity, but requires authenticated user privileges (Contributor level or higher), no user interaction needed on the victim side, and cross-site scope with limited confidentiality and integrity impact. The requirement for authentication meaningfully reduces exposure compared to unauthenticated XSS, limiting the threat actor pool to users with publishing privileges or higher. However, the vulnerability is stored, affecting all subsequent page visitors, increasing its lifetime impact. The lack of user interaction required for exploitation (UI:N) and the automated, straightforward nature of the injection increase practical exploitation probability. The attack is highly automatable against vulnerable installations, but requires prior account compromise or insider threat. Real-world risk depends on site governance: sites with strict contributor vetting face lower risk than sites with numerous contributor accounts or open registration. This does not qualify as a critical flaw but represents a meaningful integrity and confidentiality risk warranting prioritized patching. |
| Exploit ScenarioDerived | An authenticated WordPress user with Contributor privileges (or a threat actor who has compromised such an account) creates or edits a page containing the shortcode [tt_part title="test" onclick="fetch('/admin.php?action=inject')"] or uses a double-quote escape followed by event handler injection to break the attribute context. When any site visitor accesses that page, the injected JavaScript executes in their browser session, potentially stealing session cookies, redirecting to malicious sites, or performing actions on behalf of the visitor (such as creating admin accounts or modifying site content). Because this is a Stored XSS vulnerability, the malicious payload persists in the page content and affects all subsequent visitors until the page is manually cleaned, making this particularly dangerous for high-traffic sites. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 21, 2026
The Text Toggle WordPress plugin contains a Stored Cross-Site Scripting (XSS) vulnerability in versions up to 1.1 affecting the 'title' shortcode attribute of the [tt_part] and [tt] shortcodes. Authenticated attackers with Contributor-level privileges or above can inject arbitrary HTML attributes and event handlers by breaking out of the title attribute context, allowing malicious scripts to execute in the browsers of any user viewing affected pages. The vulnerability is classified as medium severity (CVSS 6.4) and requires authentication, but impacts site integrity and visitor security across any WordPress installation using this plugin.
RemediationAI
Upgrade the Text Toggle plugin to a patched version released after the disclosure of this vulnerability (confirm with the plugin vendor or Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/d7ac0683-120f-4e76-9d44-5ee1c789b2c8). If a patch is not yet available, disable the plugin immediately by deactivating and removing it from the WordPress plugin directory, as the vulnerability is trivial to exploit once an attacker gains Contributor access. As a temporary mitigation pending patch availability, restrict Contributor-level role assignments to only essential trusted users and audit existing contributor accounts for unauthorized creation. Additionally, implement WordPress security hardening via Web Application Firewall (WAF) rules to detect and block XSS payloads in shortcode attributes, though this is not a substitute for patching. Monitor all pages using [tt_part] or [tt] shortcodes for injected event handlers in revision history.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the avp_texttoggle_part_shortcode() function within the Text Toggle plugin (cpe:2.3:a:hoosierdragon:text_toggle), where shortcode attributes are processed without proper output encoding. The root cause is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), a class of input validation and output encoding defects. Specifically, the 'title' attribute is extracted from user-supplied shortcode parameters and directly concatenated into HTML output in two contexts: as an HTML attribute value (line 116: title="...") and within HTML content (line 119), without any sanitization or escaping functions like wp_kses_post() or esc_attr(). While the 'class' attribute is protected via ctype_alnum() validation, the 'title' attribute receives no filtering, allowing double-quote injection to break attribute boundaries and inject event handlers such as onmouseover, onclick, or onerror.
Know when Text Toggle gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
The Text Toggle plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'title' shortcode attribute of the [tt_part] and [tt] shortcodes in all versions up to and including 1.1. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes. Specifically, in the avp_texttoggle_part_shortcode() function, the 'title' attribute is extracted from shortcode attributes and concatenated directly into HTML output without any escaping - both within an HTML attribute context (title="...") on line 116 and in HTML content on line 119. While the 'class' attribute is properly validated using ctype_alnum(), the 'title' attribute has no sanitization whatsoever. An attacker can inject double-quote characters to break out of the title attribute and inject arbitrary HTML attributes including event handlers. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Executive ViewAI
Organizations using all should be aware of moderate risk from CVE-2026-3997, a cross-site scripting vulnerability rated CVSS 6.4. Attackers could inject scripts to steal sessions or perform actions as authenticated users. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-14157
GHSA-m3x9-6r4v-vvcw
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB