Executive brief
The Recipe Card Blocks Lite plugin for WordPress, which allows website owners to display formatted recipes, contains a security flaw in how it handles recipe summaries and notes. An attacker with at least Author-level permissions can inject malicious scripts into these fields. When other users, including site administrators or visitors, view the affected recipe or its print version, the script will execute in their browser, potentially leading to unauthorized actions or data theft.
Technical details
A Stored Cross-Site Scripting (XSS) vulnerability exists in the Recipe Card Blocks Lite plugin due to improper handling of block attributes. Specifically, the 'WPZOOM_Helpers::deserialize_block_attributes' method converts unicode-encoded sequences back into HTML characters after sanitization has already occurred, effectively bypassing security filters. Authenticated attackers with Author-level access or higher can exploit this by injecting malicious scripts into the 'summary' or 'notes' attributes of a recipe block. These scripts execute when a user views the published post or the recipe's print view. The issue is addressed in versions following 3.4.13.
Affected products
- WPZOOM Recipe Card Blocks Lite Up to, and including, 3.4.13
Timeline
- 2026-06-08: disclosed: Initial disclosure and NVD publication
- 2026-06-08: advisory: Wordfence advisory published
References
- https://plugins.trac.wordpress.org/browser/recipe-card-blocks-by-wpzoom/trunk/src/classes/class-wpzoom-helpers.php
- https://plugins.trac.wordpress.org/browser/recipe-card-blocks-by-wpzoom/trunk/src/classes/class-wpzoom-print-template-manager.php
- https://plugins.trac.wordpress.org/browser/recipe-card-blocks-by-wpzoom/trunk/src/structured-data-blocks/class-wpzoom-recipe-card-block.php
- https://plugins.trac.wordpress.org/browser/recipe-card-blocks-by-wpzoom/trunk/src/structured-data-blocks/class-wpzoom-recipe-card-block.php
- https://plugins.trac.wordpress.org/changeset/3470036/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/a684bf5f-7cf6-43b1-b457-fdc2ba74852d?source=cve