Description
The PDF Invoices & Packing Slips for WooCommerce WordPress plugin from 5.16.2 before 5.16.5 does not properly escape several customer-supplied order fields — including the billing and shipping address values and the customer order note — before they are output in generated invoice and packing-slip documents, allowing unauthenticated users placing guest orders to store a malicious script that executes when a shop administrator views the document, leading to Stored Cross-Site Scripting.
Published: 2026-10-30
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Immediate Patch
AI Analysis

Impact

The plugin fails to escape several customer‑supplied order fields, including billing and shipping addresses and the customer order note, when generating invoice and packing‑slip PDFs. This allows an unauthenticated guest to inject a malicious script that executes inside the browser when a shop administrator opens the document, giving the attacker the ability to steal credentials, deface the site, or perform other malicious actions on the administrator’s session. The vulnerability is a classic Stored Cross‑Site Scripting flaw, affecting the confidentiality and integrity of the site’s administrative control plane.

Affected Systems

The vulnerability affects the WordPress plugin PDF Invoices & Packing Slips for WooCommerce, versions 5.16.2 through 5.16.4 (inclusive). Any WordPress site using one of these releases is at risk.

Risk and Exploitability

With a CVSS score of 7.5 the flaw is considered high severity, and the exploit does not require any user authentication. Guest users can place orders with malicious input, immediately persisting arbitrary code in PDFs. Although the EPSS score is not listed and the vulnerability is not yet in CISA’s KEV catalog, an attacker does not need advanced tooling to abuse it—simply submitting a crafted order to a public checkout page suffices. Administration accounts that open the PDFs trigger the payload, creating a high‑risk attack surface.

Generated by OpenCVE AI on October 30, 2026 at 22:22 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade PDF Invoices & Packing Slips for WooCommerce to version 5.16.5 or later, which contains the input‑validation fix.
  • Disallow guest checkout or restrict the use of addresses and order notes to trusted users while the vulnerability remains unresolved.
  • Ensure all order input fields are properly sanitized and HTML‑escaped before being rendered into PDF documents.
  • Optionally whitelist allowed characters for billing and shipping addresses and order notes to reduce attack surface.

Generated by OpenCVE AI on October 30, 2026 at 22:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 22:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79

Fri, 30 Oct 2026 21:30:00 +0000

Type Values Removed Values Added
Description The PDF Invoices & Packing Slips for WooCommerce WordPress plugin from 5.16.2 before 5.16.5 does not properly escape several customer-supplied order fields — including the billing and shipping address values and the customer order note — before they are output in generated invoice and packing-slip documents, allowing unauthenticated users placing guest orders to store a malicious script that executes when a shop administrator views the document, leading to Stored Cross-Site Scripting.
Title PDF Invoices & Packing Slips for WooCommerce 5.16.2 - 5.16.4 - Unauthenticated Stored XSS via Order Address and Customer Note Fields
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-10-31T00:53:29.904Z

Reserved: 2026-10-16T12:52:07.317Z

Link: CVE-2026-111578

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-30T22:16:53.880

Modified: 2026-10-30T22:16:53.880

Link: CVE-2026-111578

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-30T22:30:14Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')