Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-24644 Overview
CVE-2025-24644 is a stored cross-site scripting (XSS) vulnerability in the WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels WordPress plugin. The flaw affects all plugin versions up to and including 4.7.1. It stems from improper neutralization of user-supplied input during web page generation [CWE-79]. An authenticated attacker with high privileges can inject malicious script content that persists in the application and executes in the browsers of other users who view the affected pages. The scope-changed nature of the issue means the injected payload can affect components beyond the vulnerable plugin itself.
Critical Impact
Authenticated attackers can persist malicious JavaScript through the plugin's input handling, enabling session theft, administrative action hijacking, and content manipulation across the WooCommerce store.
Affected Products
- WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels versions up to and including 4.7.1
- WordPress sites running the print-invoices-packing-slip-labels-for-woocommerce plugin
- WooCommerce storefronts using this plugin for invoice and shipping label generation
Discovery Timeline
- 2025-01-24 - CVE-2025-24644 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-24644
Vulnerability Analysis
The vulnerability is a stored XSS flaw classified under [CWE-79], Improper Neutralization of Input During Web Page Generation. The plugin accepts user-controlled input through one or more of its administrative interfaces without sufficiently sanitizing or encoding the data before rendering it back into HTML output. Because the payload is persisted server-side, it re-executes each time the affected view is loaded by any user with access to it. Successful exploitation requires an authenticated actor with elevated privileges and user interaction from a victim who visits the tainted page. The scope-changed condition indicates that the injected script can operate against resources outside the vulnerable component's security context, such as the broader WordPress administrative interface.
Root Cause
The plugin fails to apply proper output escaping or context-aware sanitization to fields rendered within the invoice, packing slip, delivery note, or shipping label configuration and generation workflows. WordPress provides functions such as esc_html(), esc_attr(), and wp_kses() for this purpose. When these functions are omitted or misapplied, HTML and JavaScript control characters submitted by an operator are stored verbatim and later reflected into pages viewed by other users.
Attack Vector
The attack originates over the network and requires the attacker to hold high-privilege credentials on the target WordPress installation. The attacker submits a crafted payload containing JavaScript through a vulnerable input field exposed by the plugin. The payload is stored in the WordPress database. When a second user, such as another administrator or shop manager, loads the affected admin page or invoice view, the script executes in their browser session with the privileges of that user.
The vulnerability is described in the Patchstack WooCommerce XSS Vulnerability advisory. No public exploit code has been released, and the EPSS probability is 0.36%.
Detection Methods for CVE-2025-24644
Indicators of Compromise
- Unexpected <script>, <iframe>, or event-handler attributes (for example onerror=, onload=) stored in plugin configuration tables or invoice metadata
- Administrator sessions exhibiting unauthorized actions such as user creation, role changes, or plugin installations shortly after viewing invoice or shipping label pages
- Outbound HTTP requests from administrator browsers to unfamiliar domains when the WordPress admin dashboard is loaded
Detection Strategies
- Audit database rows written by the print-invoices-packing-slip-labels-for-woocommerce plugin for HTML tags and JavaScript keywords in fields expected to contain plain text
- Deploy a web application firewall rule set that flags XSS payload patterns in POST requests to plugin administrative endpoints
- Correlate administrative user actions with recent visits to invoice-related admin pages to identify script-driven activity
Monitoring Recommendations
- Enable WordPress activity logging to capture changes made to plugin settings and content submitted through plugin forms
- Monitor browser Content Security Policy (CSP) violation reports for inline script execution on WordPress admin pages
- Review web server access logs for repeated administrative POST requests originating from a single high-privilege account
How to Mitigate CVE-2025-24644
Immediate Actions Required
- Update the WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels plugin to a version later than 4.7.1 as soon as the vendor publishes a fix
- Review all administrator and shop manager accounts, remove unused privileged accounts, and enforce multi-factor authentication
- Inspect plugin-related database tables for previously injected XSS payloads and remove any malicious content
Patch Information
Refer to the Patchstack advisory for the current patched version. Apply the vendor-supplied update through the WordPress plugin manager or by uploading the updated plugin archive. Confirm the plugin version after upgrade to ensure the vulnerable code path is no longer present.
Workarounds
- Restrict access to the plugin's administrative screens to the minimum number of trusted users until a patched version is installed
- Deploy a WordPress-aware web application firewall with rules that block cross-site scripting payloads targeting plugin endpoints
- Enforce a strict Content Security Policy on the WordPress admin interface to block inline script execution and unauthorized external script sources
# Configuration example - WordPress CLI plugin update
wp plugin update print-invoices-packing-slip-labels-for-woocommerce
wp plugin get print-invoices-packing-slip-labels-for-woocommerce --field=version
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

