Home / wpcodefactory / Cost of Goods: Product Cost & Profit Calculator for WooCommerce / CVE-2024-0821
CVE-2024-0821: is it exploited, and which versions of wpcodefactory Cost of Goods: Product Cost & Profit Calculator for WooCommerce are affected and fixed?
CVE-2024-0821 is a cross-site scripting (XSS) vulnerability in wpcodefactory Cost of Goods: Product Cost & Profit Calculator for WooCommerce. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: Cost of Goods: Product Cost & Profit Calculator for WooCommerce through 3.2.8 (CVE record by Wordfence). Fixed in 3.2.9 (NVD). Severity: Medium (6.1, CVSS 3.1, from Wordfence).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:31 UTC.
What is CVE-2024-0821?
Cost of Goods Sold (COGS): Cost & Profit Calculator for WooCommerce <= 3.2.8 - Reflected Cross-Site Scripting
The Cost of Goods Sold (COGS): Cost & 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.
From the CVE record by Wordfence, last updated April 8, 2026, 17:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| wpcodefactory | Cost of Goods: Product Cost & Profit Calculator for WooCommerce | through 3.2.8 |
As the CVE record by Wordfence states it, last updated April 8, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| wpfactory | cost of goods for woocommerce | before 3.2.9 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:54 UTC.
How severe is CVE-2024-0821?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | Wordfence |
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-0821 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, March 1, 2024)
- EPSS
- 0.40% probability of exploitation activity in the next 30 days, percentile 36.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d13d072e-9c9c-4a32-b9f4-7d15dc704b50?source=cve
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3037232%40cost-of-goods-for-woocommerce&new=3037232%40cost-of-goods-for-woocommerce&sfp_email=&sfph_mail=
Who found and reported it?
- Krzysztof ZajÄ…c (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- January 23, 2024
- Published
- February 20, 2024, 18:56 UTC
- CVE record updated
- April 8, 2026, 17:25 UTC by Wordfence
- NVD
- Modified, last modified June 17, 2026, 06:54 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:31 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Cost of Goods: Product Cost & Profit Calculator for WooCommerce?
- May 13, 2026CVE-2026-6962 wpcodefactory Cost of Goods: Product Cost & Profit Calculator for WooCommerce: cross-site scripting (XSS)
Every CVE in Cost of Goods: Product Cost & Profit Calculator for WooCommerce
Questions about CVE-2024-0821
Is CVE-2024-0821 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.40% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of wpcodefactory Cost of Goods: Product Cost & Profit Calculator for WooCommerce are affected by CVE-2024-0821?
Cost of Goods: Product Cost & Profit Calculator for WooCommerce through 3.2.8, per the CVE record by Wordfence. The tables above give every range the sources list.
Which version fixes CVE-2024-0821?
3.2.9, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-0821?
Medium (6.1, CVSS 3.1, from Wordfence). The severity table above shows each score with its source.
Where is the official record of CVE-2024-0821?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.