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)
- Affected
- all versions before 13.2.5
- Remediation
- Update to 13.2.5 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Medium · Affected versions Low among sites WPSec scans, 2026-12-05
- Attack surface
- Greenshift on WPSec AttackSurface
- Fix released
- Published
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/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS