CVE-2024-39682

Cooked – Recipe Management <= 1.7.15.4 - Authenticated (Contributor+) HTML Injection

2024-07-17 00:00
R3N0

Strategic Overview

Status
Patched in 1.8.0
Affected Version
<= 1.7.15.4
CVSS
5.0Medium
Weakness type
CWE-116 · Improper Encoding or Escaping of Output
CVE
CVE-2024-39682
View all Cooked – Recipe Management vulnerabilities

At a glance

CVE-2024-39682 is a medium-severity Improper Encoding or Escaping of Output vulnerability in the Cooked WordPress plugin, affecting versions <= 1.7.15.4. It carries a CVSS score of 5.0 (reachable over the network; low attack complexity). Exploitation requires an authenticated account at Contributor level or above. The issue is fixed in version 1.8.0; sites on affected versions should update now. Disclosed July 2024, reported by R3N0.

Vulnerability Overview

The Cooked – Recipe Management plugin for WordPress is vulnerable to HTML Injection in all versions up to, and including, 1.7.15.4. This is due to the plugin not properly escaping/validating input to _recipe_settings. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary HTML in a field that should not allow it.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.

CWE-116: Improper Encoding or Escaping of Output

The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.

Remediation

Update to version 1.8.0, or a newer patched version

How does WordSec protect against this?

The fix is the thing that ends this: Cooked 1.8.0 closes this, and updating the plugin is the step that ends it.

  • Alerts

External References

Related records

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C