WPeMatico RSS Feed Fetcher <= 2.9 - Unauthenticated Stored Cross-Site Scripting via RSS Feed Content Import
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
The WPeMatico RSS Feed Fetcher plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 2.9 This is due to the plugin removing WordPress's wp_filter_post_kses filter from content_save_pre immediately before calling wp_insert_post() with RSS feed content, whenever the campaign's last editor had the unfiltered_html capability — a flag the plugin sets automatically for every admin-saved campaign. Imported item content is taken raw from $item->get_content(), only entity-decoded, and stored verbatim in post_content. This makes it possible for unauthenticated attackers, who publish or compromise an RSS feed that an administrator has subscribed a WPeMatico campaign to, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected imported post.
Text from CVE List
Affected versions 1
- WPeMatico RSS Feed Fetcheraffected: all versions through 2.9CVE List
References 8
- github.com/etruel/wpematico/commit/44c4894a0ad92a711c534ad4d822c0b5d7c3dffeFixvia CVE List
- wordfence.com/threat-intel/vulnerabilities/id/e87fc1bf-af05-4089-a164-8a2e73c68e8c?source=cveReferencevia CVE List
- plugins.trac.wordpress.org/browser/wpematico/tags/2.9/includes/campaign_fetch.php#L400Referencevia CVE List
- plugins.trac.wordpress.org/browser/wpematico/tags/2.9/includes/wpematico_functions.php#L3226Referencevia CVE List
- plugins.trac.wordpress.org/browser/wpematico/tags/2.9/includes/campaign_fetch.php#L777Referencevia CVE List
- plugins.trac.wordpress.org/browser/wpematico/tags/2.9/includes/campaign_fetch.php#L773Referencevia CVE List
- plugins.trac.wordpress.org/browser/wpematico/tags/2.9/includes/wpematico_functions.php#L3326Referencevia CVE List
- plugins.trac.wordpress.org/changeset/3747465/wpematico/trunk/includes/campaign_fetch.phpReferencevia CVE List