CVE-2024-41816 WordPress Cooked Plugin Persistent Cross-Site Scripting via Shortcode
Authenticated attackers can inject arbitrary scripts via a shortcode, leading to persistent XSS execution for other users.
- 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-41816?
CVE-2024-41816 is a medium-severity cross-site scripting vulnerability in XjSv Cooked, published on 5 Aug 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
Cooked is a recipe plugin for WordPress. The Cooked plugin for WordPress is vulnerable to Persistent Cross-Site Scripting (XSS) via the ‘[cooked-timer]’ shortcode in versions up to, and including, 1.8.0 due to insufficient input sanitization and output escaping. This vulnerability allows authenticated attackers with subscriber-level access and above to inject arbitrary web scripts in pages that will execute whenever a user accesses a compromised page. This issue has been addressed in release version 1.8.1. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Weakness: CWE-79
Which versions are affected by CVE-2024-41816?
It affects 1 product.
Products include Boxystudio Cooked.
How do I fix CVE-2024-41816?
No fix has been published for CVE-2024-41816 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-41816 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-41816 exists.
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-39680 WordPress Cooked Plugin - Cross-Site Request Forgery to Default Recipe Template Save
Sources
Also known as GHSA-3gw3-2qjq-xqjj.