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.
References
Configurations
History
06 May 2025, 19:53
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:favoriteposts:favorites:*:*:*:*:*:wordpress:*:* | |
First Time |
Favoriteposts favorites
Favoriteposts |
21 Nov 2024, 07:58
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.4 |
References | () https://plugins.trac.wordpress.org/browser/favorites/tags/2.3.2/app/API/Shortcodes/UserFavoritesShortcode.php#L57 - Patch | |
References | () https://plugins.trac.wordpress.org/browser/favorites/tags/2.3.2/assets/js/favorites.js#L421 - Patch | |
References | () https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=2919192%40favorites&old=2805323%40favorites&sfp_email=&sfph_mail= - Patch | |
References | () https://www.wordfence.com/threat-intel/vulnerabilities/id/5bd03cd0-34f0-491c-8247-79656eba32a8?source=cve - Third Party Advisory |
Information
Published : 2023-05-31 05:15
Updated : 2025-05-06 19:53
NVD link : CVE-2023-2304
Mitre link : CVE-2023-2304
CVE.ORG link : CVE-2023-2304
JSON object : View
Products Affected
favoriteposts
- favorites
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')