{"id":"CVE-2023-2304","published":"2023-05-31T04:35:41Z","modified":"2026-04-08T16:55:26Z","title":"Favorites <= 2.3.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode","vendor":"kylephillips","product":"Favorites","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00687,"percentile":0.53611,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/5bd03cd0-34f0-491c-8247-79656eba32a8?source=cve","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/favorites/tags/2.3.2/app/API/Shortcodes/UserFavoritesShortcode.php#L57","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/favorites/tags/2.3.2/assets/js/favorites.js#L421","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=2919192%40favorites&old=2805323%40favorites&sfp_email=&sfph_mail=","tags":[]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":10.72},{"name":"CVSS severity","points":4.48}]},"vendorSlug":"kylephillips","affectedVersions":[{"vendor":"kylephillips","product":"Favorites","versions":["<= 2.3.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-13T16:21:52.192452Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-33810","exploited":false,"provenance":"source"}}