{
 "id": "WPSEC-2026-3402",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3402/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3402/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3402/index.md",
 "title": "PDF Generator for WordPress <= 1.6.5 - Unauthenticated Insecure Direct Object Reference to Private Post Disclosure via PDF Generation",
 "description": "The PDF Generator for WordPress plugin for WordPress is vulnerable to Insecure Direct Object Reference via its PDF generation and PDF email endpoints in all versions up to, and including, 1.6.5, due to a missing check that the requester may view the post whose ID is supplied. This makes it possible for unauthenticated attackers to obtain the contents of draft, pending, private, scheduled and password-protected posts, and of non-public post types such as WooCommerce orders, as PDF documents, either downloaded when guest PDF access is enabled or e-mailed to an address of their choice.",
 "plugin": {
  "slug": "pdf-generator-for-wp",
  "name": "PDF Generator for WordPress",
  "full_name": "PDF Generator for WordPress",
  "wordpress_org": "https://wordpress.org/plugins/pdf-generator-for-wp/",
  "advisories_url": "https://wpsec.com/vuln/plugin/pdf-generator-for-wp/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/pdf-generator-for-wp"
 },
 "type": "IDOR",
 "cwe": [
  "CWE-639"
 ],
 "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": null,
    "from_inclusive": true,
    "to": "1.6.6",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 1.6.6"
  ]
 },
 "introduced_in": null,
 "fixed_in": "1.6.6",
 "remediation": "Update to 1.6.6 or later.",
 "fix_released": "2026-11-17T11:09:05+00:00",
 "published": "2026-11-18T15:47:09+00:00",
 "updated": "2026-11-18T14:58:31.469075+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3402/",
  "https://plugins.svn.wordpress.org/pdf-generator-for-wp/tags/1.6.6/",
  "https://wordpress.org/plugins/pdf-generator-for-wp/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/pdf-generator-for-wp",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-18"
 }
}