Vulnerabilities / PDF & Print / WPSEC-2026-4301

PDF & Print <= 2.4.7 - Unauthenticated Sensitive Information Exposure via 'post_status' Parameter

Medium 5.3 CWE-200Fixed in 2.4.8
ID
WPSEC-2026-4301
Plugin
PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin (pdf-print)
Affected
from 1.8.7 before 2.4.8
Remediation
Update to 2.4.8 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-01
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 'post_status' parameter of the custom PDF/print request (print=pdf-custom or print=print-custom) in all versions up to, and including, 2.4.7. This is due to the plugin passing all query-string arguments of the request URI directly to query_posts() with no restriction on the 'post_status' argument and no check that the visitor may read the returned posts. This makes it possible for unauthenticated attackers to get the titles, content and author names of draft, pending, private and other unpublished posts in the generated PDF or print page.

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