{
 "id": "WPSEC-2026-0509",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0509/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0509/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0509/index.md",
 "title": "Cooked – Recipe Management <= 1.16.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via [cooked-timer] Shortcode",
 "description": "The Cooked – Recipe Management plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the [cooked-timer] shortcode (and its [timer] alias) in versions 1.8.1 up to, and including, 1.16.1 due to insufficient output escaping of the timer description in the data-desc attribute. When no 'desc' attribute is given, the description is taken from the shortcode's enclosed content, which is only passed through wp_strip_all_tags(); that function does not encode quotes, so the value can break out of the attribute. This makes it possible for authenticated attackers with contributor-level access and above to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.",
 "plugin": {
  "slug": "cooked",
  "name": "Cooked – Recipe Management",
  "full_name": "Cooked – Recipe Management",
  "wordpress_org": "https://wordpress.org/plugins/cooked/",
  "advisories_url": "https://wpsec.com/vuln/plugin/cooked/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/cooked"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "1.8.1",
    "from_inclusive": true,
    "to": "1.16.2",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 1.8.1 before 1.16.2"
  ]
 },
 "introduced_in": "1.8.1",
 "fixed_in": "1.16.2",
 "remediation": "Update to 1.16.2 or later.",
 "fix_released": "2026-10-05T22:14:13+00:00",
 "published": "2026-10-07T11:46:41+00:00",
 "updated": "2026-10-07T10:53:28.789495+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-0509/",
  "https://plugins.svn.wordpress.org/cooked/tags/1.16.2/",
  "https://wordpress.org/plugins/cooked/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/cooked",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-10-07"
 }
}