Description
The Twittee Text Tweet plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' shortcode attribute in all versions up to and including 1.0.8. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes. The ttt_twittee_tweeter() function uses extract() to pull shortcode attributes into local variables and then directly concatenates them into HTML output without any escaping. Specifically, the $id parameter is inserted into an HTML id attribute context without esc_attr(), allowing an attacker to break out of the attribute and inject arbitrary HTML event handlers. Additionally, the $tweet, $content, $balloon, and $theme attributes are similarly injected into inline JavaScript without escaping (lines 87, 93, 101, 117). 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.
Published: 2026-04-22
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting (XSS)
Action: Patch
AI Analysis

Impact

The Twittee Text Tweet plugin contains a stored XSS flaw caused by unsanitized shortcode attributes. When an attacker supplies a specially crafted value for the 'id' attribute, the plugin inserts it directly into an HTML id context and inline JavaScript without escaping, allowing the attacker to break out of the attribute and inject executable scripts that run for any user who views a page containing the shortcode. Only users with Contributor or higher privileges can create or edit the content that triggers the shortcode, so the vulnerability is limited to authenticated authors, but the compromise scope extends to all visitors loading affected pages.

Affected Systems

The vulnerability exists in the Twittee Text Tweet WordPress plugin developed by johnnie2u. All releases up to and including version 1.0.8 are affected; newer releases are not covered by this advisory. WordPress sites that have installed the plugin and grant contributor‑level access to write or edit posts containing the shortcode are at risk.

Risk and Exploitability

The vulnerability has a CVSS score of 6.4, indicating moderate severity. EPSS data is not available and the issue is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires the attacker to be authenticated with at least Contributor permissions, but once installed the malicious script executes automatically for any user who views the affected content, providing widespread impact while restricting initial access to authenticated contributors. The lack of a public exploit and moderate CVSS score suggest the risk is real but not immediately critical, yet the capability to impact all site visitors warrants prompt remediation.

Generated by OpenCVE AI on April 22, 2026 at 09:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Twittee Text Tweet to a version that removes the XSS flaw, if one is available.
  • If an updated version is not available, either uninstall the plugin or block its shortcode usage for non‑administrator roles.
  • Restrict Contributor and lower roles from creating or editing posts that include the plugin’s shortcode, or force administrators to review such content before publication.
  • As a last resort, edit the plugin’s ttt_twittee_tweeter() function (or create a child filter) so that all shortcode attributes are passed through WordPress esc_attr() and esc_js() before output.

Generated by OpenCVE AI on April 22, 2026 at 09:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 22 Apr 2026 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 22 Apr 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Johnnie2u
Johnnie2u twittee Text Tweet
Wordpress
Wordpress wordpress
Vendors & Products Johnnie2u
Johnnie2u twittee Text Tweet
Wordpress
Wordpress wordpress

Wed, 22 Apr 2026 08:30:00 +0000

Type Values Removed Values Added
Description The Twittee Text Tweet plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' shortcode attribute in all versions up to and including 1.0.8. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes. The ttt_twittee_tweeter() function uses extract() to pull shortcode attributes into local variables and then directly concatenates them into HTML output without any escaping. Specifically, the $id parameter is inserted into an HTML id attribute context without esc_attr(), allowing an attacker to break out of the attribute and inject arbitrary HTML event handlers. Additionally, the $tweet, $content, $balloon, and $theme attributes are similarly injected into inline JavaScript without escaping (lines 87, 93, 101, 117). 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.
Title Twittee Text Tweet <= 1.0.8 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'id' Shortcode Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Johnnie2u Twittee Text Tweet
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-22T14:05:17.972Z

Reserved: 2026-03-12T21:03:18.626Z

Link: CVE-2026-4089

cve-icon Vulnrichment

Updated: 2026-04-22T14:05:08.179Z

cve-icon NVD

Status : Deferred

Published: 2026-04-22T09:16:22.713

Modified: 2026-04-22T20:22:50.570

Link: CVE-2026-4089

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T11:44:11Z

Weaknesses