{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4506",
 "modified": "2026-12-03T12:50:55Z",
 "published": "2026-12-03T12:50:55Z",
 "summary": "Print Page block <= 1.3.3 - Authenticated (Contributor+) CSS Injection via Print Page Block Style Attributes",
 "details": "The Print Page Block plugin for WordPress is vulnerable to CSS Injection via the block's typography, border, padding and other style attributes in all versions up to, and including, 1.3.3. This is due to the block's front-end script inserting these values, including the font family, font category and the Google Font @import URL, without sanitization into a <style> element, 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, including @import rules that load external stylesheets, into pages that display the block, 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": "print-page"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "1.3.4"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 1.3.4"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4506/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/print-page/tags/1.3.4/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/print-page/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4506/",
  "cwe_ids": [
   "CWE-74"
  ],
  "vulnerability_type": "CONTENT INJECTION",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
