# Greenshift <= 13.2.4 - Unauthenticated Stored Cross-Site Scripting via Dynamic Placeholders

- **ID:** WPSEC-2026-4709
- **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:** from 11.5.2 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:H/PR:N/UI:N/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-4709/

## Description

The Greenshift – animation and page builder blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via dynamic placeholder processing in all versions up to, and including, 13.2.4. This is due to the Element block running greenshift_dynamic_placeholders() over its full rendered markup, inner blocks such as comments and query loops included, and to the {{POST_CONTENT}} placeholder inserting rendered post content before the remaining placeholders are scanned. Placeholder patterns such as {{AUTHOR_META:...}}, {{USER_META:...}}, {{TERM_LINKS:...}} and {{RANDOM:...}} could therefore match across tags and quoted attributes. When a placeholder resolved to an empty string, it deleted the markup between {{ and }}, including the quote or '>' that closes a tag, and {{RANDOM:}} output was not escaped. This makes it possible for unauthenticated attackers to inject arbitrary web scripts through markup that is otherwise filtered, such as comments, when it is rendered inside an Element block whose text contains a placeholder or through {{POST_CONTENT}}. The scripts execute whenever a user visits the affected page.

## References

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

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.
