CVE-2023-5161
MEDIUM
5.4
CVSS 3.1
Description
The Modal Window plugin for WordPress is vulnerable to Stored Cross-Site Scripting via shortcodes in versions up to, and including, 5.3.5 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
-
Modal Window – create popup modal window Plugin · modal-windowUp to and including 5.3.5View 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
- wpcalc Modal Window – create popup modal window — Up to and including 5.3.5
- wow-company modal_window — Up to and including 5.3.5
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/modal-window/tags/5.3.5/public/class-public.php#L73 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/modal-window/tags/5.3.5/public/shortcode.php#L53 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/2971132/modal-window#file195 Patch
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/2971132/modal-window#file196 Patch
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/48e2129f-6a2c-45e4-a0cf-7d8d5f563a7f?source=cve Patch, Third Party Advisory
- nvd.nist.gov Official NVD record