{"id":"CVE-2024-0821","aliases":["EUVD-2024-16605","GHSA-pw7x-pq3f-qmgm"],"status":"published","title":"Cost of Goods Sold (COGS): Cost \u0026 Profit Calculator for WooCommerce \u003c= 3.2.8 - Reflected Cross-Site Scripting","description":"The Cost of Goods Sold (COGS): Cost \u0026 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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00397,"percentile":0.3434,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2024-02-20T18:56:46Z","modified":"2026-06-17T06:54:22Z","products":[{"vendor":"wpcodefactory","product":"cost of goods: product cost \u0026 profit calculator for woocommerce"},{"vendor":"wpfactory","product":"cost_of_goods_for_woocommerce"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/d13d072e-9c9c-4a32-b9f4-7d15dc704b50?source=cve","tags":["x_transferred","Third Party Advisory"]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=\u0026sfph_mail=\u0026reponame=\u0026old=3037232%40cost-of-goods-for-woocommerce\u0026new=3037232%40cost-of-goods-for-woocommerce\u0026sfp_email=\u0026sfph_mail=","tags":["x_transferred","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-0821"},{"url":"https://github.com/advisories/GHSA-pw7x-pq3f-qmgm"}],"sources":{"cve":[{"id":"CVE-2024-0821","title":"Cost of Goods Sold (COGS): Cost \u0026 Profit Calculator for WooCommerce \u003c= 3.2.8 - Reflected Cross-Site Scripting","description":"The Cost of Goods Sold (COGS): Cost \u0026 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.","status":"published","published":"2024-02-20T18:56:46.928Z","modified":"2026-04-08T17:25:07.387Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:22.852179Z"}],"euvd":[{"id":"EUVD-2024-16605","description":"The Cost of Goods Sold (COGS): Cost \u0026 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.","status":"published","published":"2024-02-20T18:56:46Z","modified":"2026-04-08T17:25:07Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T19:24:39.649332Z"}],"ghsa":[{"id":"GHSA-pw7x-pq3f-qmgm","title":"The Cost of Goods Sold (COGS): Cost \u0026 Profit Calculator for WooCommerce plugin for WordPress is...","description":"The Cost of Goods Sold (COGS): Cost \u0026 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.","status":"published","published":"2024-02-29T03:33:15Z","modified":"2026-04-08T21:33:21Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:07:21.520973Z"}],"nvd":[{"id":"CVE-2024-0821","description":"The Cost of Goods Sold (COGS): Cost \u0026 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.","status":"published","published":"2024-02-29T01:43:29.37Z","modified":"2026-06-17T06:54:22.627Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:09:38.473056Z"}]}}
