{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4172",
 "modified": "2026-11-28T11:43:43Z",
 "published": "2026-11-28T11:43:43Z",
 "summary": "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",
 "details": "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.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "otter-blocks"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "3.1.6"
      },
      {
       "fixed": "3.2.13"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 3.1.6 before 3.2.13"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4172/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/otter-blocks/tags/3.2.13/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/otter-blocks/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4172/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
