# Otter Blocks <= 3.2.7 - Authenticated (Contributor+) Stored Cross-Site Scripting via Dynamic Content Magic Tags

- **ID:** WPSEC-2026-1360
- **Plugin:** Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE (`otter-blocks`), https://wordpress.org/plugins/otter-blocks/
- **Affected versions:** all versions before 3.2.8
- **Fixed in:** 3.2.8 (Update to 3.2.8 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-10-21)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/otter-blocks
- **Fix released:** 2026-10-19
- **Published:** 2026-10-21
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1360/

## Description

The Otter Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via dynamic content magic tags in all versions up to, and including, 3.2.7 due to resolved magic tag values being substituted into markup without escaping, including inside HTML attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to place magic tags in attributes whose resolved, attacker-controlled values break out of the attribute and inject arbitrary web scripts that execute whenever a user accesses an affected page.

## References

- https://wpsec.com/vuln/WPSEC-2026-1360/
- https://plugins.svn.wordpress.org/otter-blocks/tags/3.2.8/
- https://wordpress.org/plugins/otter-blocks/

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

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.
