{
 "id": "WPSEC-2026-4301",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4301/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4301/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4301/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4301.json",
 "title": "PDF & Print <= 2.4.7 - Unauthenticated Sensitive Information Exposure via 'post_status' Parameter",
 "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.",
 "plugin": {
  "slug": "pdf-print",
  "name": "PDF & Print",
  "full_name": "PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin",
  "wordpress_org": "https://wordpress.org/plugins/pdf-print/",
  "advisories_url": "https://wpsec.com/vuln/plugin/pdf-print/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/pdf-print"
 },
 "type": "SENSITIVE DATA DISCLOSURE",
 "cwe": [
  "CWE-200"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "1.8.7",
    "from_inclusive": true,
    "to": "2.4.8",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 1.8.7 before 2.4.8"
  ]
 },
 "introduced_in": "1.8.7",
 "fixed_in": "2.4.8",
 "remediation": "Update to 2.4.8 or later.",
 "fix_released": "2026-11-30T12:23:58+00:00",
 "published": "2026-12-01T13:07:07+00:00",
 "updated": "2026-12-01T10:53:18.928861+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4301/",
  "https://plugins.svn.wordpress.org/pdf-print/tags/2.4.8/",
  "https://wordpress.org/plugins/pdf-print/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/pdf-print",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-12-01"
 }
}