---
id: CVE-2026-84909
title: >-
  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 san…
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 san…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: smub
product: Custom Twitter Feeds – A Tweets Widget or X Feed Widget
affected:
  - custom_twitter_feeds_a_tweets_widget_or_x_feed_widget <= 2.8.0
published: '2026-09-18'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T15:17:14.100'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-84909'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/custom-twitter-feeds/tags/2.8.0/custom-twitter-feed.php#L432
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/custom-twitter-feeds/tags/2.8.0/inc/CTF_Parse.php#L551
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/custom-twitter-feeds/tags/2.8.0/inc/CTF_Settings.php#L234
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/custom-twitter-feeds/tags/2.8.0/inc/CTF_Settings.php#L293
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/custom-twitter-feeds/tags/2.8.0/inc/CtfFeed.php#L139
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/custom-twitter-feeds/tags/2.8.0/inc/CtfFeed.php#L2001
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/custom-twitter-feeds/tags/2.8.0/inc/CtfFeed.php#L2338
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&new=3695675%40custom-twitter-feeds&old=3665650%40custom-twitter-feeds
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/b1a9d042-c0c0-477a-8cdf-9fb9d2239059?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-18T14:16:07.796663Z'
epss: 0.00408
epssPercentile: 0.32211
ingestedAt: '2026-09-18T07:37:23.432Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
