CVE-2024-41816 WordPress Cooked Plugin Persistent Cross-Site Scripting via Shortcode

Medium 5.4 Published Updated

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.

Sources

Also known as GHSA-3gw3-2qjq-xqjj.

Is CVE-2024-41816 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free