Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-0821: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpcodefactory Cost of Goods: Product Cost & Profit Calculator for WooCommerce

0
Medium
VulnerabilityCVE-2024-0821cvecve-2024-0821cwe-79
Published: Tue Feb 20 2024 (02/20/2024, 18:56:46 UTC)
Source: CVE Database V5
Vendor/Project: wpcodefactory
Product: Cost of Goods: Product Cost & Profit Calculator for WooCommerce

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 05:40:06 UTC

Technical Analysis

The Cost of Goods: Product Cost & Profit Calculator for WooCommerce plugin for WordPress suffers from a reflected cross-site scripting vulnerability (CWE-79) in the 'section' parameter. This vulnerability arises from improper neutralization of input during web page generation, allowing unauthenticated attackers to inject and execute arbitrary web scripts if a user interacts with a maliciously crafted link. The issue affects all plugin versions up to 3.2.8. The CVSS 3.1 base score is 6.1 (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N), reflecting network attack vector, low attack complexity, no privileges required, user interaction needed, scope changed, and low impact on confidentiality and integrity with no impact on availability. No known exploits in the wild or official patches have been reported.

Potential Impact

Successful exploitation allows an unauthenticated attacker to execute arbitrary scripts in the context of a victim's browser session when the victim clicks a crafted link. This can lead to limited confidentiality and integrity impacts, such as theft of sensitive information or manipulation of displayed content. There is no impact on system availability. The vulnerability requires user interaction and affects the security scope beyond the vulnerable component.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should exercise caution when clicking links related to the affected plugin and consider disabling or removing the plugin if feasible. Monitor the vendor's communications for updates on patches or official mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-01-23T14:11:23.306Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6de5b7ef31ef0b5904ad

Added to database: 2/25/2026, 9:47:17 PM

Last enriched: 4/9/2026, 5:40:06 AM

Last updated: 4/12/2026, 5:22:29 PM

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses