CVE-2024-0957 Cross-site scripting in WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels

Medium 6.1 Published Updated

Unauthenticated attackers can inject malicious scripts via customer notes, leading to script execution when invoices are viewed.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-0957?

CVE-2024-0957 is a medium-severity cross-site scripting vulnerability in WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels, published on 22 Mar 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Customer Notes field in all versions up to, and including, 4.4.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 invoice for printing.

Weakness: CWE-79

Which versions are affected by CVE-2024-0957?

It affects 1 product.

Products include Webtoffee Woocommerce Pdf Invoices\, Packing Slips\, Delivery Notes and Shipping Labels.

How do I fix CVE-2024-0957?

No fix has been published for CVE-2024-0957 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-0957 being exploited?

There is no known exploitation of CVE-2024-0957 in the wild and no public exploit code.

Sources

Also known as GHSA-h379-w93w-2822.

Is CVE-2024-0957 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free