← Database

CVE-2023-2304

MEDIUM CVSS: 6.4 Published: 2023-05-31 Modified: 2026-06-17

Description

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 Platforms

Favoriteposts Favorites

Weakness Type

CWE-79, CWE-79

References