Skip to main content

Custom Twitter Feeds CVE-2026-6177

| EUVDEUVD-2026-29945 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-05-13 Wordfence
7.2
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Analysis Generated
May 13, 2026 - 13:16 vuln.today
CVE Published
May 13, 2026 - 12:29 nvd
HIGH 7.2

DescriptionCVE.org

The Custom Twitter Feeds plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to and including 2.5.4. This is due to insufficient output escaping in the CTF_Display_Elements::get_post_text() function when rendering cached tweet text. The plugin's ctf_get_more_posts AJAX action is available to unauthenticated users and directly outputs cached tweet data through nl2br() without HTML escaping. When an attacker can get malicious content into cached tweet data (either by tweeting content that gets cached by the site's feed configuration, or through other vulnerabilities), the malicious HTML/JavaScript is executed when the unauthenticated endpoint is accessed. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses the affected endpoint.

AnalysisAI

Stored cross-site scripting in Custom Twitter Feeds plugin for WordPress versions ≤2.5.4 allows unauthenticated remote attackers to execute arbitrary JavaScript when malicious content enters cached tweet data. The vulnerability stems from the ctf_get_more_posts AJAX endpoint outputting cached tweet text through nl2br() without HTML escaping, accessible without authentication (CVSS:3.1/AV:N/AC:L/PR:N/UI:N). Attack requires either posting malicious tweets that the target site caches via its feed configuration, or leveraging other vulnerabilities to poison the tweet cache. No active exploitation confirmed at time of analysis. Wordfence identified the flaw with patch available in changeset 3519584.

Technical ContextAI

This vulnerability affects the Custom Twitter Feeds WordPress plugin (CPE: cpe:2.3:a:smub:custom_twitter_feeds_-_a_tweets_widget_or_x_feed_widget), which caches and displays Twitter/X feed content. The flaw exists in CTF_Display_Elements::get_post_text() function where cached tweet text is processed through PHP's nl2br() function for line break conversion but lacks HTML entity encoding before output. The ctf_get_more_posts AJAX action (custom-twitter-feed.php line 447) is registered for both authenticated and unauthenticated users (wp_ajax_nopriv_ctf_get_more_posts), directly rendering cached data without sanitization. This represents a classic stored XSS vulnerability (CWE-79) where untrusted data from an external source (Twitter API responses) is stored in the plugin's cache and later output without proper escaping. The item.php template (line 36) consumes this unsanitized output, creating the execution pathway. The scope change (S:C) in the CVSS vector indicates the vulnerable component (plugin) differs from the impacted component (user browsers accessing any page with the vulnerable endpoint).

RemediationAI

Update Custom Twitter Feeds plugin to version 2.5.5 or later, which implements proper HTML escaping in the affected output functions (patch details in changeset 3519584: https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3519584%40custom-twitter-feeds&old=3481416%40custom-twitter-feeds). Until patching is possible, implement these compensating controls with noted trade-offs: (1) Disable the plugin entirely if Twitter feed functionality is non-critical-eliminates risk but removes all feed display features. (2) Restrict which Twitter accounts the plugin caches by reviewing feed configuration settings and only following verified/trusted accounts-reduces attack surface but doesn't eliminate risk if those accounts are compromised. (3) Implement Web Application Firewall (WAF) rules to inspect and sanitize responses from the ctf_get_more_posts AJAX endpoint-adds performance overhead and may cause false positives blocking legitimate content with HTML-like characters. (4) Use Content Security Policy (CSP) headers with strict script-src directives to prevent inline JavaScript execution-provides defense-in-depth but may break other legitimate WordPress plugins or themes that rely on inline scripts. Note that disabling AJAX endpoints via functions.php could break feed loading functionality entirely. Prioritize upgrading to patched version for production environments.

CVE-2016-10045 CRITICAL POC
9.8 Dec 30

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-3495 CRITICAL POC
9.8 May 22

The Country State City Dropdown CF7 plugin for WordPress is vulnerable to SQL Injection via the ‘cnt’ and 'sid' paramete

Share

CVE-2026-6177 vulnerability details – vuln.today

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