CVE-2024-37308 WordPress Cooked Plugin - Authenticated (Contributor+) Persistent Cross-Site Scripting Vulnerability
Authenticated contributors can inject persistent scripts via recipe settings, allowing arbitrary code execution when pages are viewed.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-37308?
CVE-2024-37308 is a medium-severity cross-site scripting vulnerability in XjSv Cooked, published on 13 Jun 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2024-37308?
It affects 1 product.
Products include Boxystudio Cooked.
How do I fix CVE-2024-37308?
No fix has been published for CVE-2024-37308 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-37308 being exploited?
There is no known exploitation of CVE-2024-37308 in the wild and no public exploit code.
Other vulnerabilities in XjSv Cooked
- CVE-2022-3900 Cooked Pro < 1.7.5.7 - Unauthenticated PHP Object Injection
- CVE-2023-44477 WordPress Cooked Plugin <= 1.7.13 is vulnerable to Cross Site Scripting (XSS)
- CVE-2024-39682 WordPress Cooked Plugin - Authenticated (Contributor+) HTML Injection via Recipe Excerpt
- CVE-2021-24233 Cooked Pro < 1.7.5.6 - Unauthenticated Reflected Cross Site Scripting (XSS)
- CVE-2024-41816 WordPress Cooked Plugin Persistent Cross-Site Scripting via Shortcode
Sources
Also known as GHSA-9vfv-c966-jwrv.