CVE-2023-2304: Favoriteposts Favorites

Medium severity, CVSS 5.4. EPSS: 0.7% chance of exploitation in the next 30 days.

The Favorites plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'user_favorites' shortcode in versions up to, and including, 2.3.2 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers with contributor-level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Affected products

Published 2023-05-31. Last modified 2026-06-17.