# Greenshift <= 13.2.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via Social Share Link data-href

- **ID:** WPSEC-2026-4711
- **Plugin:** Greenshift – animation and page builder blocks (`greenshift-animation-and-page-builder-blocks`), https://wordpress.org/plugins/greenshift-animation-and-page-builder-blocks/
- **Affected versions:** all versions before 13.2.5
- **Fixed in:** 13.2.5 (Update to 13.2.5 or later.)
- **Severity:** Medium 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Low (as of 2026-12-05)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/greenshift-animation-and-page-builder-blocks
- **Fix released:** 2026-12-04
- **Published:** 2026-12-05
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4711/

## Description

The Greenshift – animation and page builder blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the social share link data-href attribute in all versions up to, and including, 13.2.4. This is due to the social share front-end scripts (libs/social-share/index.js and social.js) passing an element's data-href value to window.open() without checking its URL scheme. WordPress allows data-* attributes in post content for users without unfiltered_html. This makes it possible for authenticated attackers, with contributor-level access and above, to place a share link with a javascript: data-href in a post. The injected script executes in the site's origin when a user clicks the link.

## References

- https://wpsec.com/vuln/WPSEC-2026-4711/
- https://plugins.svn.wordpress.org/greenshift-animation-and-page-builder-blocks/tags/13.2.5/
- https://wordpress.org/plugins/greenshift-animation-and-page-builder-blocks/

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

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.
