# Social Feed Gallery <= 5.0.14 - Authenticated (Contributor+) Stored Cross-Site Scripting via Feed Profile Link and Website Attributes

- **ID:** WPSEC-2026-3420
- **Plugin:** Social Feed Gallery (`insta-gallery`), https://wordpress.org/plugins/insta-gallery/
- **Affected versions:** from 4.0.0 before 5.0.15
- **Fixed in:** 5.0.15 (Update to 5.0.15 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-18)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/insta-gallery
- **Fix released:** 2026-11-17
- **Published:** 2026-11-18
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3420/

## Description

The Social Feed Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'link' and 'website' feed profile settings of the Instagram Feed block (and Elementor widget) in all versions up to, and including, 5.0.14, due to insufficient validation of the URL scheme before these values are used as link targets in the rendered feed profile. This makes it possible for authenticated attackers with contributor-level access and above to inject javascript: URLs into pages that execute arbitrary web scripts when a user clicks the profile links.

## References

- https://wpsec.com/vuln/WPSEC-2026-3420/
- https://plugins.svn.wordpress.org/insta-gallery/tags/5.0.15/
- https://wordpress.org/plugins/insta-gallery/

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

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.
