{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4512",
 "modified": "2026-12-03T12:50:55Z",
 "published": "2026-12-03T12:50:55Z",
 "summary": "Section Collection <= 2.0.18 - Authenticated (Contributor+) CSS Injection via Block Typography Attributes",
 "details": "The Section Collection plugin for WordPress is vulnerable to CSS Injection via block typography attributes (such as the font family, font category and Google Fonts URL) of the Slider, Modern FAQ and Service sections in all versions up to, and including, 2.0.18. This is due to the sections' front-end scripts inserting these values without sanitization into a <style> element and a Google Fonts @import rule, which lets them close the CSS rule they belong to. This makes it possible for authenticated attackers with contributor-level access and above to inject arbitrary CSS into pages that display these sections, which can be used to deface or spoof page content and to load resources from off-site hosts when the page is viewed.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "section-collection"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "2.0.19"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 2.0.19"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4512/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/section-collection/tags/2.0.19/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/section-collection/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4512/",
  "cwe_ids": [
   "CWE-74"
  ],
  "vulnerability_type": "CONTENT INJECTION",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
