CVE-2024-37308

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-37308
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-37308.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-37308
Aliases
  • GHSA-9vfv-c966-jwrv
Published
2024-06-13T13:46:14.254Z
Modified
2025-11-30T08:36:02.118061Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
WordPress Cooked Plugin - Authenticated (Contributor+) Persistent Cross-Site Scripting Vulnerability
Details

The Cooked Pro recipe plugin for WordPress is vulnerable to Persistent Cross-Site Scripting (XSS) via the _recipe_settings[post_title] parameter in versions up to, and including, 1.7.15.4 due to insufficient input sanitization and output escaping. This vulnerability allows authenticated attackers with contributor-level access and above to inject arbitrary web scripts in pages that will execute whenever a user accesses a compromised page. A patch is available at commit 8cf88f334ccbf11134080bbb655c66f1cfe77026 and will be part of version 1.8.0.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37308.json"
}
References

Affected packages

Git / github.com/xjsv/cooked

Affected ranges

Type
GIT
Repo
https://github.com/xjsv/cooked
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*

v1.7.14
v1.7.15.2
v1.7.15.3
v1.7.15.4