{
 "id": "WPSEC-2026-0740",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0740/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0740/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0740/index.md",
 "title": "PDF Invoices & Packing Slips for WooCommerce <= 5.16.3 - Authenticated (Subscriber+) Missing Authorization to Order Information Disclosure via Document Number Preview",
 "description": "The PDF Invoices & Packing Slips for WooCommerce plugin for WordPress is vulnerable to unauthorized access of data via the wpo_wcpdf_preview_formatted_number AJAX action in all versions up to, and including, 5.16.3, due to a missing capability check in the ajax_preview_formatted_number() function, which only verifies a nonce that is also handed to logged-in customers in their My Account document links. This makes it possible for authenticated attackers, with Subscriber-level access and above, to load arbitrary orders by ID and retrieve their order number and the order and document dates through the number format placeholders.",
 "plugin": {
  "slug": "woocommerce-pdf-invoices-packing-slips",
  "name": "PDF Invoices & Packing Slips for WooCommerce",
  "full_name": "PDF Invoices & Packing Slips for WooCommerce",
  "wordpress_org": "https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/",
  "advisories_url": "https://wpsec.com/vuln/plugin/woocommerce-pdf-invoices-packing-slips/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/woocommerce-pdf-invoices-packing-slips"
 },
 "type": "NO AUTHORISATION",
 "cwe": [
  "CWE-862"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "5.16.4",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 5.16.4"
  ]
 },
 "introduced_in": null,
 "fixed_in": "5.16.4",
 "remediation": "Update to 5.16.4 or later.",
 "fix_released": "2026-10-08T13:53:37+00:00",
 "published": "2026-10-10T15:41:27+00:00",
 "updated": "2026-10-10T14:53:55.913558+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-0740/",
  "https://plugins.svn.wordpress.org/woocommerce-pdf-invoices-packing-slips/tags/5.16.4/",
  "https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/woocommerce-pdf-invoices-packing-slips",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "None seen",
  "as_of": "2026-10-10"
 }
}