Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-110252 Overview
The WPeMatico RSS Feed Fetcher plugin for WordPress contains a stored Cross-Site Scripting (XSS) vulnerability in versions up to and including 2.9. The plugin removes WordPress's wp_filter_post_kses filter from content_save_pre immediately before calling wp_insert_post() with RSS feed content. This bypass triggers whenever the campaign's last editor had the unfiltered_html capability, a flag the plugin automatically sets for every admin-saved campaign. Imported item content is pulled raw from $item->get_content(), only entity-decoded, and stored verbatim in post_content. Unauthenticated attackers who publish or compromise an RSS feed subscribed to by a WPeMatico campaign can inject arbitrary scripts into imported posts [CWE-79].
Critical Impact
Attackers controlling an upstream RSS feed can store JavaScript that executes in any visitor's browser when they view an imported post.
Affected Products
- WPeMatico RSS Feed Fetcher plugin for WordPress
- All versions up to and including 2.9
- WordPress sites with admin-saved WPeMatico campaigns subscribed to attacker-controlled feeds
Discovery Timeline
- 2026-10-16 - CVE-2026-110252 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-110252
Vulnerability Analysis
WPeMatico is a WordPress plugin that automatically fetches content from RSS feeds and converts items into local posts. The import pipeline deliberately disables WordPress's content sanitization layer so that administrators can preserve rich markup from source feeds. However, the plugin trusts the entire feed payload rather than only trusting the administrator.
Before calling wp_insert_post(), the plugin removes the wp_filter_post_kses filter from the content_save_pre hook when the campaign's last editor holds the unfiltered_html capability. The plugin sets this capability flag automatically on every admin-saved campaign, so the sanitization bypass applies to essentially all production deployments. The raw feed content, obtained via $item->get_content() and only entity-decoded, is then written directly to post_content.
Root Cause
The root cause is misplaced trust in the user who last edited the campaign configuration rather than in the actual source of the content. The unfiltered_html capability is intended to allow a trusted human author to write unfiltered markup, not to grant unfiltered-markup rights to any upstream RSS producer. Removing wp_filter_post_kses based on campaign ownership causes attacker-controlled feed content to bypass WordPress's standard HTML allowlist.
Attack Vector
An attacker publishes or compromises an RSS feed that a WordPress administrator has already subscribed a WPeMatico campaign to. The attacker embeds HTML containing <script> tags or event-handler attributes in the feed item body. When the WPeMatico scheduled task runs, the plugin fetches the feed, bypasses sanitization, and stores the payload as a WordPress post. The script executes in the browser of any site visitor, author, or administrator who views the imported post.
// Patch excerpt from includes/campaign_fetch.php (2.9.1 - Oct 14, 2026)
// The same markup WordPress keeps in a title and an excerpt saved without the
// unfiltered_html capability, whoever runs the campaign.
$this->current_item['title'] = WPeMatico_Feed_HTML::text($this->current_item['title']);
if (!empty($this->current_item['excerpt'])) {
$this->current_item['excerpt'] = WPeMatico_Feed_HTML::excerpt($this->current_item['excerpt']);
}
$this->current_item['title'] = apply_filters('wpem_parse_title', $this->current_item['title']);
$this->current_item['content'] = apply_filters('wpem_parse_content', $this->current_item['content']);
$this->current_item['excerpt'] = apply_filters('wpem_parse_excerpt', $this->current_item['excerpt']);
// Source: https://github.com/etruel/wpematico/commit/44c4894a0ad92a711c534ad4d822c0b5d7c3dffe
// Patch excerpt from includes/campaign_fetch_functions.php (2.9.1)
// What the feed and the parsers brought is sanitized here: after the media, before
// the post template adds the campaign's own markup.
$current_item['content'] = WPeMatico_Feed_HTML::content($current_item['content'], $campaign);
$current_item = apply_filters('wpematico_after_item_parsers', $current_item, $campaign, $feed, $item);
// Source: https://github.com/etruel/wpematico/commit/44c4894a0ad92a711c534ad4d822c0b5d7c3dffe
Detection Methods for CVE-2026-110252
Indicators of Compromise
- WordPress posts created by WPeMatico containing <script>, <iframe>, or inline event handlers such as onerror= and onload= in post_content.
- Outbound requests from site visitors to unexpected domains referenced in imported post HTML.
- WPeMatico campaign logs showing successful imports from feeds whose domains differ from the originally subscribed source.
Detection Strategies
- Query the wp_posts table for recent entries authored by WPeMatico campaigns and grep post_content for script tags and javascript: URIs.
- Compare installed WPeMatico plugin versions across sites and flag any instance at 2.9 or earlier.
- Review feed subscription URLs in WPeMatico campaign settings for recently added or compromised sources.
Monitoring Recommendations
- Enable WordPress audit logging for post creation events originating from scheduled tasks and the WPeMatico user.
- Monitor web server access logs for anomalous referrer patterns or cross-origin requests triggered by rendered posts.
- Alert on new administrator sessions created shortly after an imported post is viewed, which may indicate session theft via XSS.
How to Mitigate CVE-2026-110252
Immediate Actions Required
- Update the WPeMatico RSS Feed Fetcher plugin to version 2.9.1 or later, which introduces the WPeMatico_Feed_HTML sanitizer.
- Audit all WPeMatico campaigns and remove or re-verify any RSS feed subscription whose source is not fully trusted.
- Scan existing imported posts for malicious markup and purge or sanitize affected content.
Patch Information
The vendor released version 2.9.1 on October 14, 2026. The fix adds the WPeMatico_Feed_HTML::text, ::excerpt, and ::content sanitizers that run before wp_insert_post(), so feed-sourced markup is filtered regardless of the campaign owner's unfiltered_html capability. See the GitHub commit, the WordPress changeset, and the Wordfence advisory.
Workarounds
- Deactivate the WPeMatico plugin until the patched version can be installed.
- Set imported posts to draft status so they require manual review before publication.
- Deploy a Content Security Policy that disallows inline scripts to limit the impact of stored XSS payloads.
# Example WP-CLI commands to upgrade the plugin and audit imported posts
wp plugin update wpematico --version=2.9.1
wp post list --post_status=publish --fields=ID,post_title,post_author \
| xargs -I {} wp post get {} --field=post_content \
| grep -iE '<script|onerror=|onload=|javascript:'
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

