Custom Twitter Feeds <= 2.8.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'buttoncolor' Shortcode Attribute
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
The Custom Twitter Feeds – A Tweets Widget or X Feed Widget plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'buttoncolor' Shortcode Attribute in all versions up to, and including, 2.8.0 due to insufficient input sanitization and output escaping. 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. This vulnerability is exploitable on common installs where the admin has configured access tokens with zero or multiple legacy feeds, as this causes the ctf_statuses support_legacy_shortcode option to be set to boolean true by default, activating the unfiltered legacy shortcode attribute code path.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- smub Custom Twitter Feeds – A Tweets Widget or X Feed Widget
through 2.8.0
References 9
plugins.trac.wordpress.org
- browser/custom-twitter-feeds/tags/2.8.0/inc/CtfFeed.php#L2338
- browser/custom-twitter-feeds/tags/2.8.0/inc/CTF_Parse.php#L551
- browser/custom-twitter-feeds/tags/2.8.0/inc/CtfFeed.php#L2001
- browser/custom-twitter-feeds/tags/2.8.0/inc/CTF_Settings.php#L293
- browser/custom-twitter-feeds/tags/2.8.0/inc/CTF_Settings.php#L234
- browser/custom-twitter-feeds/tags/2.8.0/inc/CtfFeed.php#L139
- browser/custom-twitter-feeds/tags/2.8.0/custom-twitter-feed.php#L432
- changeset?reponame=&new=3695675%40custom-twitter-feeds&old=3665650%40custom-twitter-feeds