CVE-2021-24991 WooCommerce PDF Invoices & Packing Slips < 2.10.5 - Reflected Cross-Site Scripting

Medium 4.8 Published Updated

Attackers can execute arbitrary scripts in the admin dashboard via unescaped parameters, potentially compromising administrator accounts.

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

What is CVE-2021-24991?

CVE-2021-24991 is a medium-severity cross-site scripting vulnerability in Unknown WooCommerce PDF Invoices & Packing Slips, published on 3 Jan 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

The WooCommerce PDF Invoices & Packing Slips WordPress plugin before 2.10.5 does not escape the tab and section parameters before outputting it back in an attribute, leading to a Reflected Cross-Site Scripting in the admin dashboard

Weakness: CWE-79

Which versions are affected by CVE-2021-24991?

It affects 1 product.

Products include Wpovernight Woocommerce Pdf Invoices\& Packing Slips.

How do I fix CVE-2021-24991?

No fix has been published for CVE-2021-24991 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-2021-24991 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24991 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-pmj4-hxrq-f9wh.

Is CVE-2021-24991 in your software?

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

Check your SBOMs for free