Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE <= 3.2.12 - Authenticated (Contributor+) Stored Cross-Site Scripting via Atomic Wind Image Post Field
- ID
- WPSEC-2026-4172
- Plugin
- Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE (otter-blocks)
- Affected
- from 3.1.6 before 3.2.13
- Remediation
- Update to 3.2.13 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-28
- Attack surface
- Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE on WPSec AttackSurface
- Fix released
- Published
Description
The Otter Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Atomic Wind image block's 'author_avatar' and 'featured_image' post fields in versions 3.1.6 up to, and including, 3.2.12, due to the author name or post title being inserted with preg_replace() into the block's alt attribute without neutralising regular-expression backreferences such as '$0'. A backreference copies the block's original alt attribute, quotes included, back into the markup, which breaks out of the attribute. This makes it possible for authenticated attackers with contributor-level access and above to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page, when the Atomic Wind blocks module is enabled.
References
- https://wpsec.com/vuln/WPSEC-2026-4172/
- https://plugins.svn.wordpress.org/otter-blocks/tags/3.2.13/
- https://wordpress.org/plugins/otter-blocks/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS