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

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 42% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-08-05T20:12:41.428Z
- Modified: 2026-06-17T07:48:17.157Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- XjSv Cooked: < 1.8.1
- goratech cooked: before 1.8.1
- boxystudio cooked: before 1.8.1

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/XjSv/Cooked/security/advisories/GHSA-3gw3-2qjq-xqjj> (exploit, vendor-advisory)
- <https://github.com/XjSv/Cooked/commit/ac7455bdccc99fb2f5b3c7611312947c1623c3ec> (patch)

## Sources

- CVE List: [CVE-2024-41816](https://www.cve.org/CVERecord?id=CVE-2024-41816), CVE Terms of Use, modified 2024-08-08
- NVD: [CVE-2024-41816](https://nvd.nist.gov/vuln/detail/CVE-2024-41816), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-41816 · Whole record: https://cve.day/CVE-2024-41816.json · Rebuilt by cve.day 2026-11-25T22:58:43.797Z
