Vulnerabilities / PDF & Print / WPSEC-2026-4475

PDF & Print <= 2.4.8 - Unauthenticated Sensitive Information Exposure via 'print-custom' Query Arguments

Medium 5.3 CWE-200Fixed in 2.4.9
ID
WPSEC-2026-4475
Plugin
PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin (pdf-print)
Affected
all versions before 2.4.9
Remediation
Update to 2.4.9 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-200
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-12-03
Attack surface
PDF & Print on WPSec AttackSurface
Fix released
Published

Description

The PDF & Print by BestWebSoft plugin for WordPress is vulnerable to Sensitive Information Exposure via the custom PDF/print output (print=pdf-custom or print=print-custom) in all versions up to, and including, 2.4.8. This is due to the plugin passing every query-string argument of the request to query_posts() and rendering the full content of each returned post. It does not check each post's type, and its intended restriction to published posts has no effect. This makes it possible for unauthenticated attackers to read the full content of published posts of non-public post types (such as reusable blocks or other plugins' internal post types) in the generated print page or PDF.

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