CVE-2023-5662
MEDIUM
5.4
CVSS 3.1
Description
The Sponsors plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'sponsors' shortcode in all versions up to, and including, 3.5.0 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 WordPress components
-
wp-sponsors Plugin · wp-sponsorsUp to and including 3.5.0View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- ibenic Sponsors — Up to and including 3.5.0
- wpsimplesponsorships sponsors — Up to and including 3.5.0
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-sponsors/tags/3.5.0/includes/class-wp-sponsors-shortcodes.php#L267 Patch
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3018504%40wp-sponsors%2Ftrunk&old=2531962%40wp-sponsors%2Ftrunk&sfp_email=&sfph_mail=
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/4af04219-26c5-401d-94ef-11d2321f98bf?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record