Vulnerabilities / Print Page block / WPSEC-2026-4506

Print Page block <= 1.3.3 - Authenticated (Contributor+) CSS Injection via Print Page Block Style Attributes

Medium 5.4 CWE-74Fixed in 1.3.4
ID
WPSEC-2026-4506
Plugin
Print Page Block – Print Full Page or Specific Section (print-page)
Affected
all versions before 1.3.4
Remediation
Update to 1.3.4 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness
CWE-74
Usage
Plugin Low · Affected versions None seen among sites WPSec scans, 2026-12-03
Attack surface
Print Page block on WPSec AttackSurface
Fix released
Published

Description

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.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0