Recipe Card Blocks PRO 7.4.8
Security improvements
This release addresses important security fixes, including protection against SQL injection in star ratings and ensuring unpublished recipes are not displayed on the print page.
Fixed
- Fixed an SQL injection in the star ratings. A user with Contributor access could pass a crafted recipe ID through the Recipe Rating block or the `[wpzoom_rcb_rating]` shortcode. Ratings queries that used the visitor's IP address or rating date are now escaped as well. Thanks to Jasper Weijts for the report.
- The recipe print page no longer shows unpublished posts. Drafts, pending, private and password-protected posts can only be printed by users allowed to view them, including when the post is loaded through a reusable block. Thanks to Ryan Fabella for the report.