Custom Twitter Feeds <= 2.5.4 - Unauthenticated Stored Cross-Site Scripting via Cached Tweet Text

7.2
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2026-6177
CVSS 7.2 (High)
Publicly Published May 12, 2026
Last Updated May 13, 2026
Researcher gidget smith

Description

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.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Custom Twitter Feeds – A Tweets Widget or X Feed Widget

Software Type Plugin
Software Slug custom-twitter-feeds (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.5.5, or a newer patched version
Affected Version
  • <= 2.5.4
Patched Version
  • 2.5.5

Recent vulnerabilities in Custom Twitter Feeds – A Tweets Widget or X Feed Widget

# Title CVE ID CVSS Researchers Date
1 Custom Twitter Feeds <= 2.2.5 - Cross-Site Request Forgery to Cache Reset via ctf_clear_cache_admin Function CVE-2025-1314 4.3 Kévin Mosbahi (Mika) March 19, 2025
2 Custom Twitter Feeds (Tweets Widget) <= 2.2.3 - Cross-Site Request Forgery CVE-2024-49685 4.3 Rafie Muhammad October 21, 2024
3 Custom Twitter Feeds – A Tweets Widget or X Feed Widget <= 2.2.2 - Authenticated (Admin+) Stored Cross-Site Scripting CVE-2024-8983 4.8 Krugov Artyom September 17, 2024
4 Custom Twitter Feeds – A Tweets Widget or X Feed Widget <= 2.2.1 - Cross-Site Request Forgery to Plugin Options Update CVE-2024-0379 4.3 Rhynorater, kodaichodai February 6, 2024
5 Custom Twitter Feeds (Tweets Widget) <= 2.1.2 - Cross-Site Request Forgery CVE-2023-52136 4.3 thiennv December 28, 2023
6 Custom Twitter Feeds (Tweets Widget) <= 1.8.4 - Cross-Site Request Forgery CVE-2022-33974 4.3 Muhammad Daffa May 25, 2023
7 Smash Balloon Plugins (Various Versions) - Reflected Cross-Site Scripting 6.1 WPScanTeam July 20, 2021

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation