CVE-2026-6962: Cost of Goods: Product Cost & Profit Calculator for WooCommerce <= 4.1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting
The Cost of Goods: Product Cost & Profit Calculator for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'algwccogproductcost' and 'algwccogproductprofit' shortcodes in all versions up to, and including, 4.1.0 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Cost of Goods: Product Cost & Profit Calculator for WooCommerceto a version that resolves this vulnerability.Fixed in 4.1.0
Event History
Frequently Asked Questions
What is the severity of CVE-2026-6962?
CVE-2026-6962 is classified as a medium severity vulnerability due to its potential for stored Cross-Site Scripting attacks.
How do I fix CVE-2026-6962?
To fix CVE-2026-6962, update the Cost of Goods: Product Cost & Profit Calculator for WooCommerce plugin to version 4.1.1 or later.
Who is affected by CVE-2026-6962?
Users of the Cost of Goods: Product Cost & Profit Calculator for WooCommerce plugin version 4.1.0 or earlier are affected by CVE-2026-6962.
What type of vulnerability is CVE-2026-6962?
CVE-2026-6962 is a stored Cross-Site Scripting vulnerability that affects the Cost of Goods plugin.
Can CVE-2026-6962 be exploited without authentication?
No, CVE-2026-6962 requires authentication as it is an authenticated (Contributor+) stored Cross-Site Scripting vulnerability.