CVE-2026-140122: PDF & Print by BestWebSoft before 2.4.8 Information Disclosure via post_status Parameter
PDF & Print by BestWebSoft before 2.4.8 contains an information disclosure vulnerability in pdfprntprint() that allows unauthenticated attackers to view non-public posts by injecting WPQuery arguments. Attackers can send print=print-custom requests with poststatus set to draft, private or future to retrieve the title, author and content of unpublished posts.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
Any unauthenticated remote attacker can exploit it. No credentials or user interaction are required.
Which content can be exposed?
Requests using print=print-custom with post_status set to draft, private, or future can expose the title, author, and content of non-public posts.
How can I determine whether my site is affected?
Sites using BestWebSoft PDF & Print versions before 2.4.8 are affected. Review web logs for print=print-custom requests that include post_status values such as draft, private, or future.
What should be done if updating is not immediately possible?
Restrict or block requests to the affected print-custom functionality that supply the post_status parameter, particularly values for draft, private, and future posts.