{
 "id": "WPSEC-2026-4512",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4512/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4512/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4512/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4512.json",
 "title": "Section Collection <= 2.0.18 - Authenticated (Contributor+) CSS Injection via Block Typography Attributes",
 "description": "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.",
 "plugin": {
  "slug": "section-collection",
  "name": "Section Collection",
  "full_name": "Section Collection – Add Ready-made Sections to Design Modern Websites",
  "wordpress_org": "https://wordpress.org/plugins/section-collection/",
  "advisories_url": "https://wpsec.com/vuln/plugin/section-collection/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/section-collection"
 },
 "type": "CONTENT INJECTION",
 "cwe": [
  "CWE-74"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "2.0.19",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 2.0.19"
  ]
 },
 "introduced_in": null,
 "fixed_in": "2.0.19",
 "remediation": "Update to 2.0.19 or later.",
 "fix_released": "2026-12-02T05:37:00+00:00",
 "published": "2026-12-03T12:50:55+00:00",
 "updated": "2026-12-03T12:36:06.306679+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4512/",
  "https://plugins.svn.wordpress.org/section-collection/tags/2.0.19/",
  "https://wordpress.org/plugins/section-collection/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/section-collection",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-12-03"
 }
}