CVE-2021-24991 WooCommerce PDF Invoices & Packing Slips < 2.10.5 - Reflected Cross-Site Scripting
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.
Other vulnerabilities in Unknown WooCommerce PDF Invoices & Packing Slips
- CVE-2024-22147 WordPress WooCommerce PDF Invoices & Packing Slips Plugin <= 3.7.5 is vulnerable to SQL Injection
- CVE-2024-3045 PDF Invoices & Packing Slips for WooCommerce <= 3.8.0 - Unauthenticated Stored Cross-Site Scripting
- CVE-2024-3047 PDF Invoices & Packing Slips for WooCommerce <= 3.8.0 - Unauthenticated Server-Side Request Forgery
- CVE-2025-24373 Unrestricted Access to PDF Documents via URL Manipulation in woocommerce-pdf-invoices-packing-slips
- CVE-2022-2537 WooCommerce PDF Invoices & Packing Slips < 3.0.1 - Reflected Cross-Site Scripting
Sources
Also known as GHSA-pmj4-hxrq-f9wh.