Affected versions
- Affected versions
- <=13.5.8
- Fixed version
- 13.5.9
Exploitation
Description
The Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce plugin for WordPress is vulnerable to Shortcode Injection in all versions up to, and including, 13.5.8. This is due to missing stripping of shortcode bracket syntax from customer-controlled review fields before those values are passed to Sanitization::sanitize_html_content(), which internally calls do_shortcode(). This makes it possible for authenticated attackers, with subscriber-level access and above, to inject and execute arbitrary shortcodes by submitting shortcode tags in product review names or review content fields, which are executed via do_shortcode() inside the sanitize_html_content() call during feed generation. The store must have product reviews enabled so that subscriber-level customers can submit reviews.
Links
Credits
- Jacek Sowiński (dzaku)

