# WPZOOM Social Feed Widget & Block <= 2.5.1 - Unauthenticated Arbitrary Shortcode Execution via Load More Request Parameters

- **ID:** WPSEC-2026-4363
- **Plugin:** WPZOOM Social Feed Widget & Block (`instagram-widget-by-wpzoom`), https://wordpress.org/plugins/instagram-widget-by-wpzoom/
- **Affected versions:** from 2.5.0 before 2.5.2
- **Fixed in:** 2.5.2 (Update to 2.5.2 or later.)
- **Severity:** High 7.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
- **Weakness:** CWE-94
- **Usage among sites WPSec scans:** plugin Medium, affected versions Low (as of 2026-12-02)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/instagram-widget-by-wpzoom
- **Fix released:** 2026-12-01
- **Published:** 2026-12-02
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4363/

## Description

The WPZOOM Social Feed Widget & Block plugin for WordPress is vulnerable to arbitrary shortcode execution via the Load More request parameters (image_size and allowed_post_types) in all versions from 2.5.0 up to, and including, 2.5.1. This is due to the feed renderer accepting these values from any POST request that carries a valid 'wpzinsta-pro-load-more' nonce and printing them into the Load More button's data attributes after only sanitize_text_field() and esc_attr(), which leave square brackets intact. The nonce is printed publicly in that same button. Because the feed block's output is later passed through do_shortcode(), the injected values are run as shortcodes. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes on pages that display a feed block with the Load More button enabled.

## References

- https://wpsec.com/vuln/WPSEC-2026-4363/
- https://plugins.svn.wordpress.org/instagram-widget-by-wpzoom/tags/2.5.2/
- https://wordpress.org/plugins/instagram-widget-by-wpzoom/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4363/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
