{
 "id": "WPSEC-2026-4172",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4172/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4172/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4172/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4172.json",
 "title": "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",
 "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.",
 "plugin": {
  "slug": "otter-blocks",
  "name": "Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE",
  "full_name": "Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE",
  "wordpress_org": "https://wordpress.org/plugins/otter-blocks/",
  "advisories_url": "https://wpsec.com/vuln/plugin/otter-blocks/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/otter-blocks"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "3.1.6",
    "from_inclusive": true,
    "to": "3.2.13",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 3.1.6 before 3.2.13"
  ]
 },
 "introduced_in": "3.1.6",
 "fixed_in": "3.2.13",
 "remediation": "Update to 3.2.13 or later.",
 "fix_released": "2026-11-27T11:18:10+00:00",
 "published": "2026-11-28T11:43:43+00:00",
 "updated": "2026-11-28T10:51:33.271394+00:00",
 "also_published_as": null,
 "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/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/otter-blocks",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-11-28"
 }
}