WP Delicious stored XSS in recipe detail icons
wpdelicious WP Delicious – Recipe Plugin for Food Bloggers (formerly Delicious Recipes)
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| wpdelicious WP Delicious – Recipe Plugin for Food Bloggers (formerly Delicious Recipes) |
| No fix yet |
Original description
The WP Delicious – Recipe Plugin for Food Bloggers (formerly Delicious Recipes) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'details[].icon' parameter in all versions up to, and including, 1.10.11 due to insufficient input sanitization and output escaping. 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. The payload bypasses wp_kses_post on save because Gutenberg serializes block attribute JSON with JSON_HEX_QUOT, encoding double-quotes as \u0022 so no raw quote or angle bracket appears in post_content; parse_blocks() restores the literal quote at render time, producing the HTML attribute breakout.
From the CVE record · Wordfence