CVE-2024-9940 Calculated Fields Form <= 5.2.45 - HTML Injection

Medium 5.3 Published Updated

Unauthenticated attackers can inject HTML into form submissions, potentially leading to code execution or account takeover when administrators view emails.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-9940?

CVE-2024-9940 is a medium-severity cross-site scripting vulnerability in codepeople Calculated Fields Form, published on 17 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Calculated Fields Form plugin for WordPress is vulnerable to HTML Injection in all versions up to, and including, 5.2.45. This is due to the plugin not properly neutralizing HTML elements from submitted forms. This makes it possible for unauthenticated attackers to inject arbitrary HTML that will render when the administrator views form submissions in their email.

Weakness: CWE-79, CWE-75

Which versions are affected by CVE-2024-9940?

It affects 1 product.

Products include Codepeople Calculated Fields Form.

How do I fix CVE-2024-9940?

No fix has been published for CVE-2024-9940 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-9940 being exploited?

There is no known exploitation of CVE-2024-9940 in the wild and no public exploit code.

Sources

Also known as GHSA-c8q2-82x8-w4xj.

Is CVE-2024-9940 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free