CVE-2024-5427
Description
The WPCafe – Online Food Ordering, Restaurant Menu, Delivery, and Reservations for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's Reservation Form shortcode in all versions up to, and including, 2.2.24 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected WordPress components
-
WPCafe – Restaurant Menu, Online Food Ordering & Table Booking System Plugin · wp-cafeUp to and including 2.2.24View 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
- arraytics WPCafe – Restaurant Menu, Online Food Ordering & Table Booking System — Up to and including 2.2.24
- themewinter wpcafe — Before 2.2.26
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-cafe/trunk/core/shortcodes/views/reservation/reservation-form-template.php#L22 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3095135/#file8 Patch
- wordpress.org https://wordpress.org/plugins/wp-cafe/#description Product
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/336e2429-97ab-4948-9d21-f0121216d2d1?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record