CVE Explorer
CVE-2026-6962
The Cost of Goods: Product Cost & Profit Calculator for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'alg_wc_cog_product_cost' and 'alg_wc_cog_product_profit' 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 exec
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"Cost of Goods: Product Cost & Profit Calculator for WooCommerce","vendor":"wpcodefactory","versions":[{"lessThanOrEqual":"4.1.0","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a4e7f6efacf4a1e8fabd4c44be83bdea14740bf10060c303a389021003c1faed · sha256:2fb4248c600822b7… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":6.4,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a4e7f6efacf4a1e8fabd4c44be83bdea14740bf10060c303a389021003c1faed · sha256:2fb4248c600822b7… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a4e7f6efacf4a1e8fabd4c44be83bdea14740bf10060c303a389021003c1faed · sha256:2fb4248c600822b7… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"url":"https://plugins.trac.wordpress.org/browser/cost-of-goods-for-woocommerce/tags/4.1.0/includes/class-alg-wc-cog-products.php#L119"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a4e7f6efacf4a1e8fabd4c44be83bdea14740bf10060c303a389021003c1faed · sha256:2fb4248c600822b7… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/browser/cost-of-goods-for-woocommerce/tags/4.1.0/includes/class-alg-wc-cog-products.php#L133"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a4e7f6efacf4a1e8fabd4c44be83bdea14740bf10060c303a389021003c1faed · sha256:2fb4248c600822b7… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/browser/cost-of-goods-for-woocommerce/tags/4.1.0/includes/class-alg-wc-cog-products.php#L158"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a4e7f6efacf4a1e8fabd4c44be83bdea14740bf10060c303a389021003c1faed · sha256:2fb4248c600822b7… · /containers/cna/references/3
{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3524832%40cost-of-goods-for-woocommerce&new=3524832%40cost-of-goods-for-woocommerce&sfp_email=&sfph_mail="}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a4e7f6efacf4a1e8fabd4c44be83bdea14740bf10060c303a389021003c1faed · sha256:2fb4248c600822b7… · /containers/cna/references/4
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/aedde7a7-018d-45f9-8f67-f4ea01be894e?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a4e7f6efacf4a1e8fabd4c44be83bdea14740bf10060c303a389021003c1faed · sha256:2fb4248c600822b7… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.