CWE
80 79
Advisory Published
Updated

CVE-2024-0821: XSS

First published: Tue Feb 20 2024(Updated: )

The Cost of Goods Sold (COGS): Cost & Profit Calculator for WooCommerce plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'section' parameter in all versions up to, and including, 3.2.8 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

Credit: security@wordfence.com

Affected SoftwareAffected VersionHow to fix
WooCommerce Cost & Profit Calculator<=3.2.8
WPFactory Cost of Goods for WooCommerce<3.2.9

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-0821?

    CVE-2024-0821 is classified as a high severity vulnerability due to its potential for reflected cross-site scripting attacks.

  • How do I fix CVE-2024-0821?

    To fix CVE-2024-0821, update the Cost & Profit Calculator for WooCommerce plugin to version 3.2.9 or later.

  • What impact does CVE-2024-0821 have on my website?

    CVE-2024-0821 can allow attackers to execute arbitrary JavaScript in the context of a user's browser, compromising site integrity and user data.

  • Which versions of the Cost & Profit Calculator are affected by CVE-2024-0821?

    All versions up to and including 3.2.8 of the Cost & Profit Calculator for WooCommerce are affected by CVE-2024-0821.

  • Is user interaction required to exploit CVE-2024-0821?

    Yes, exploitation of CVE-2024-0821 typically requires user interaction, such as visiting a malicious link.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203