Cost of Goods for WooCommerce <= 2.8.6 - Cross-Site Request Forgery in save_costs
The Cost of Goods for WooCommerce plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 2.8.6. This is due to missing or incorrect nonce validation on the save_costs function. This makes it possible for unauthenticated attackers to edit or save of prices via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| WordPress plugin | Cost of Goods: Product Cost & Profit Calculator for WooCommerce | <= 2.8.6 | 2.8.7 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N- Weakness (CWE)
CWE-352- Platform
- WordPress
- Package
Cost of Goods: Product Cost & Profit Calculator for WooCommerce- Disclosed
- 06.02.2023
- Updated
- 11.10.2026 10:23
Sources and licenses
Wordfence Intelligence - ee50731f-696f-4e9f-a930-05b2b23752de - Wordfence Intelligence
Copyright 2012-2026 Defiant Inc.
This record contains material that is subject to copyright
Copyright 2012-2026 Defiant Inc.
Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy.
https://www.wordfence.com/wordfence-intelligence-terms-and-conditions/Wordfence Intelligence
Wordfence Intelligence - Defiant, Inc. Copyright Defiant, Inc. All rights reserved except as granted below. License grant, section 3.1 of the Wordfence Intelligence Terms and Conditions (January 26, 2026): Subject to this Agreement, Company hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute the Service. Any copy you make for such purposes is authorized provided that you reproduce Company’s copyright designation, this license, and the license of any disclosed Company licensor in any such copy. Full applicable Agreement: https://www.wordfence.com/wordfence-intelligence-terms-and-conditions/
Vulnerability history: Cost of Goods: Product Cost & Profit Calculator for WooCommerce
All published vulnerabilities of this package (WordPress plugin), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 6
- First → latest
- 02.2023 09.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 6
Disclosures per year
- 2023: 2
- 2024: 1
- 2025: 1
- 2026: 2
-
Cost of Goods for WooCommerce <= 2.8.6 - Cross-Site Request Forgery in save_costs this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.