Text Toggle WordPress Plugin Stored Cross-Site Scripting Vulnerability

Vulnerability

A stored cross-site scripting vulnerability has been identified in the Text Toggle plugin for WordPress, affecting all versions through 1.1. The issue arises from inadequate input sanitization and output escaping of user-supplied shortcode attributes, particularly the 'title' attribute in the [tt_part] and [tt] shortcodes. This vulnerability allows authenticated attackers with Contributor-level access and above to inject arbitrary web scripts into pages, which are executed when users access the injected content.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user viewing the page.

Reproduction

To reproduce this vulnerability, an authenticated user with Contributor-level access or higher can use the [tt_part] or [tt] shortcodes, including a 'title' attribute that contains injected scripts or HTML. The absence of proper sanitization allows the injected content to be executed when the page is viewed.

Remediation

No known patch is available. It is recommended to uninstall the affected plugin and find a replacement.

Added: Mar 21, 2026, 5:17 AM
Updated: Mar 21, 2026, 5:17 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
6.0
remediation
0.0
relevance
4.5
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.