Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPlace guest-checkout order
-
DeliveryInject entity-encoded script in billing name/company
-
ExploitPayload survives sanitize_text_field/wc_clean storage
-
ExecutionAdmin views order or invoice page
-
ImpactScript executes in admin session context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target site to run the PDF Invoices & Packing Slips for WooCommerce plugin (version 5.16.1 or earlier) alongside WooCommerce with guest checkout enabled, which is the default for most storefronts. The attacker needs no account: they submit an order supplying an entity-encoded (HTML-entity, no literal '<') payload in the Billing First Name, Last Name, or Company field, exploiting that WooCommerce's sanitize_text_field() and wc_clean() pass such strings through unchanged. The key LIMITING factor is that the stored payload only fires when a privileged user (store administrator/staff) subsequently views the injected order or the plugin's invoice/settings page - so execution depends on victim interaction in the admin context even though planting the payload is fully unauthenticated. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N = 7.2 High) describes a network-exploitable, low-complexity, unauthenticated stored XSS with a scope change, reflecting that a guest attacker injects a payload stored in one component (the order record) that later executes in a different security context (the WordPress admin/invoice rendering context). Wordfence is the sole reporting source; there is no EPSS score, no CISA KEV listing, and no public proof-of-concept provided, so this is 'no public exploit identified at time of analysis.' The 7.2 is driven largely by the unauthenticated injection vector and scope change rather than by confirmed mass exploitation. A realistic nuance: although PR:N holds for planting the payload via guest checkout, execution requires a privileged user (store admin/staff) to view the injected order or generated invoice, so the UI:N in the vector arguably understates the dependency on victim action - the practical risk sits between the raw 7.2 and a more modest reflected-style rating. No conflicting attack-vector signals exist: the description and vector agree on remote/network exploitation. Overall this is a credible, well-documented issue in a widely deployed plugin, meriting prompt patching, but absent EPSS/KEV/POC it is not evidence of active, widespread exploitation. |
| Exploit ScenarioDerived | An unauthenticated attacker places a guest-checkout WooCommerce order and enters an entity-encoded JavaScript payload into the Billing First Name, Last Name, or Company field. Because WooCommerce's sanitize_text_field() and wc_clean() do not strip entity-encoded strings lacking a literal '<', the payload is stored intact. When a store administrator or staff member later opens the order or the generated PDF-invoice settings/preview page, the script executes in their authenticated browser session. No public PoC is provided, but the attack is low-complexity and requires no authentication to plant. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 01, 2026
Stored cross-site scripting in the PDF Invoices & Packing Slips for WooCommerce plugin (all versions up to and including 5.16.1) allows an unauthenticated attacker to inject arbitrary JavaScript into a WooCommerce order by way of the Billing First Name, Last Name, or Company fields, which are insufficiently sanitized on input and unescaped on output. Because guest checkout is enabled by default on most storefronts, no account or authentication is required to plant the payload; however, the injected script only executes when a privileged user later views the affected order, invoice, or plugin settings page in the WordPress admin context, so a victim must interact with the poisoned record. There is no evidence of confirmed active exploitation (not in CISA KEV) and no public exploit code identified at time of analysis; a vendor fix ships in version 5.16.2.
RemediationAI
Vendor-released patch: upgrade PDF Invoices & Packing Slips for WooCommerce to version 5.16.2 or later, available through the WordPress plugin repository and the vendor's update channel; the 5.16.1-to-5.16.2 changeset is documented at https://plugins.trac.wordpress.org/changeset?reponame=&new=3707106%40woocommerce-pdf-invoices-packing-slips%2Ftags%2F5.16.2&old=3658456%40woocommerce-pdf-invoices-packing-slips%2Ftags%2F5.16.1, and the originating advisory is at https://www.wordfence.com/threat-intel/vulnerabilities/id/2ec3bd67-6e4b-46b6-8027-feeea149f3a4?source=cve. If immediate upgrade is not possible, the most effective compensating control is to disable guest checkout in WooCommerce (Settings > Accounts & Privacy), which removes the unauthenticated delivery vector for the stored payload at the cost of blocking anonymous purchasing and potentially reducing conversion; alternatively, require account creation for all orders. Because the payload only fires in the privileged admin context, restricting access to the plugin's invoice and settings screens and reviewing pending orders for entity-encoded content in the billing name/company fields can reduce exposure, though these are inspection-based measures with limited coverage. Deploying a web application firewall rule that flags HTML entities followed by script-like constructs in checkout form submissions adds a further layer, but WAF signatures are heuristic and may be evaded; none of these workarounds substitute for installing 5.16.2.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a classic CWE-79 improper neutralization of input during web page generation, manifesting as stored XSS in a WordPress/WooCommerce ecosystem. The plugin (vendor wpOvernight, CPE cpe:2.3:a:wpovernight:pdf_invoices_&_packing_slips_for_woocommerce) reads customer-supplied billing fields from WooCommerce order records and renders them into administrative interfaces, including invoice previews, packing slip output, and settings screens (reachable through includes/Settings.php and wpo-ips-functions.php in the affected 5.16.1 tag, with client-side handling in assets/js/admin-script.js). The bypass is subtle: the payload is entity-encoded and contains no literal '<' character, so WooCommerce's sanitize_text_field() and wc_clean() - which strip tags but do not decode or block HTML entities - allow the string to be stored intact. The encoded content is subsequently decoded/interpreted in the admin rendering context, at which point the script executes. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, base 7.2) reflects a network-reachable, low-complexity, unauthenticated injection with a scope change, since the payload is stored in one component (the order record) but executes in a different security context (the WordPress admin and invoice-rendering layer). An independent assessment adjusts the UI metric to Required (UI:R), reflecting that a privileged user must view the injected page for execution to occur.
Know when Woocommerce gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Unauthenticated network injection via guest checkout (PR:N), but execution requires an admin to view the injected page (UI:R); stored XSS crossing into admin context is a scope change with limited C/I impact.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The PDF Invoices & Packing Slips for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Billing First Name / Last Name / Company Fields in all versions up to, and including, 5.16.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The payload survives initial storage because WooCommerce's sanitize_text_field() and wc_clean() do not strip entity-encoded strings containing no literal '<' character, allowing unauthenticated guest-checkout orders to plant the malicious content.
Executive ViewAI
The PDF Invoices & Packing Slips for WooCommerce plugin (versions up to 5.16.1) contains a stored cross-site scripting vulnerability that allows attackers to inject malicious JavaScript into order fields, which executes when store administrators view affected orders or invoices. This can lead to admin account takeover, theft of customer data, or full compromise of the e-commerce environment, affecting any store using the vulnerable plugin. While no public exploit code has been identified, a vendor fix is available in version 5.16.2 and should be applied promptly.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Woocommerce
View allThe WooCommerce plugin through 3.x for WordPress has a Directory Traversal Vulnerability via a /wp-content/plugins/wooco
Unauthenticated remote code execution in Print Invoice & Delivery Notes for WooCommerce through 5.8.0 lets remote attack
Unauthenticated arbitrary file upload in Addify's Request a Quote for WooCommerce plugin, affecting all versions up to a
The WooCommerce Help Scout WordPress plugin before 2.9.1 (https://woocommerce.com/products/woocommerce-help-scout/) allo
WooCommerce 7.1.0 contains a remote code execution vulnerability that allows attackers to execute arbitrary PHP code by
Blind SQL injection in the WBW Product Filter WordPress plugin (woo-product-filter) through 3.4.6 lets remote attackers
Unauthenticated path traversal in OrderConvo (the "Admin and Customer Messages After Order for WooCommerce" plugin), aff
Unauthenticated retrieval of stored WooCommerce REST API credentials from the Chargely Free Subscriptions For Woocommern
Unauthenticated remote attackers can seize control of the payment configuration on WordPress stores running the Fundiin
Stored cross-site scripting in Checkout Files Upload for WooCommerce 2.4.0 lets an unauthenticated shopper upload an HTM
Cross-site request forgery in the Komfortkasse for WooCommerce WordPress plugin before 1.4.9 can let an unauthenticated
Ultimate WooCommerce Gift Cards 3.0.2 is affected by a file upload vulnerability in the Custom GiftCard Template that ca
EUVD-2026-90564
GHSA-v7w7-gmmm-67f2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB