PT-2026-40562 · WordPress · Cost Of Goods: Product Cost & Profit Calculator
Published
2026-05-13
·
Updated
2026-05-13
·
CVE-2026-6962
CVSS v3.1
6.4
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Cost of Goods: Product Cost & Profit Calculator for WooCommerce versions prior to 4.1.1
Description
The Cost of Goods: Product Cost & Profit Calculator for WooCommerce plugin for WordPress contains a Stored Cross-Site Scripting issue. This occurs due to insufficient input sanitization and output escaping on user-supplied attributes within the 'alg wc cog product cost' and 'alg wc cog product profit' shortcodes. Authenticated attackers with contributor-level access or higher can inject arbitrary web scripts into pages, which then execute when a user visits the affected page.
Recommendations
Update to a version later than 4.1.0.
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Cost Of Goods: Product Cost & Profit Calculator