# Greenshift <= 13.2.4 - Unauthenticated DOM-Based Cross-Site Scripting via Dynamic Attributes

- **ID:** WPSEC-2026-4710
- **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 4.7 (CVSS:3.1/AV:N/AC:H/PR:N/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-4710/

## Description

The Greenshift – animation and page builder blocks plugin for WordPress is vulnerable to DOM-Based Cross-Site Scripting via Interaction Layer dynamic attributes ('attach-attribute' action) in all versions up to, and including, 13.2.4. This is due to the unsafe-value check in GSPBIsUnsafeDynamicAttribute(), which tested for javascript: URLs only on href/src/action/formaction/xlink:href. Values built from {{CONTENT}}, {{ATTR:}}, {{VALUE}}, {{STORAGE:}} or {{COOKIE:}} could still be written into data-* attributes, such as the data-href that the social share scripts pass to window.open(). This makes it possible for unauthenticated attackers who control page content read by such an interaction, such as comment text, to execute arbitrary scripts in a victim's browser when the victim clicks the affected element.

## References

- https://wpsec.com/vuln/WPSEC-2026-4710/
- 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-4710/

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.
