{"id":"CVE-2024-37308","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.","aliases":["GHSA-9vfv-c966-jwrv"],"modified":"2026-08-12T03:51:09.074040615Z","published":"2024-06-13T13:46:14.254Z","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":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37308.json"},{"type":"ADVISORY","url":"https://github.com/XjSv/Cooked/security/advisories/GHSA-9vfv-c966-jwrv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37308"},{"type":"FIX","url":"https://github.com/XjSv/Cooked/commit/8cf88f334ccbf11134080bbb655c66f1cfe77026"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xjsv/cooked","events":[{"introduced":"0"},{"fixed":"b1d5b5bd17a56534118c1c2609b1b88d13233cf5"},{"fixed":"8cf88f334ccbf11134080bbb655c66f1cfe77026"}],"database_specific":{"cpe":"cpe:2.3:a:boxystudio:cooked:*:*:*:*:pro:wordpress:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.8.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v1.7.15.4","v1.7.15.3","v1.7.15.2","v1.7.14"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-37308.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}