{"id":"CVE-2026-35046","state":"PUBLISHED","title":"Tandoor has a Stored CSS Injection via <style> Tag in Recipe Instructions (API-Level)","description":"Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Prior to 2.6.4, Tandoor Recipes allows authenticated users to inject arbitrary <style> tags into recipe step instructions. The bleach.clean() sanitizer explicitly whitelists the <style> tag, causing the backend to persist and serve unsanitized CSS payloads via the API. Any client consuming instructions_markdown from the API and rendering it as HTML without additional sanitization will execute attacker-controlled CSS — enabling UI redressing, phishing overlays, visual defacement, and CSS-based data exfiltration. This vulnerability is fixed in 2.6.4.","publishedAt":"2026-04-06T17:20:00.579Z","updatedAt":"2026-04-07T15:59:42.719Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["TandoorRecipes recipes"],"affected":[{"vendor":"TandoorRecipes","product":"recipes","versions":[{"version":"< 2.6.4","status":"affected"}]}],"references":["https://github.com/TandoorRecipes/recipes/security/advisories/GHSA-9hhh-g2fc-r8x2","https://github.com/TandoorRecipes/recipes/releases/tag/2.6.4"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/35xxx/CVE-2026-35046.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-35046","state":"PUBLISHED","datePublished":"2026-04-06T17:20:00.579Z","dateUpdated":"2026-04-07T15:59:42.719Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-31T21:06:06.428Z"},"containers":{"cna":{"title":"Tandoor has a Stored CSS Injection via <style> Tag in Recipe Instructions (API-Level)","descriptions":[{"lang":"en","value":"Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Prior to 2.6.4, Tandoor Recipes allows authenticated users to inject arbitrary <style> tags into recipe step instructions. The bleach.clean() sanitizer explicitly whitelists the <style> tag, causing the backend to persist and serve unsanitized CSS payloads via the API. Any client consuming instructions_markdown from the API and rendering it as HTML without additional sanitization will execute attacker-controlled CSS — enabling UI redressing, phishing overlays, visual defacement, and CSS-based data exfiltration. This vulnerability is fixed in 2.6.4."}],"affected":[{"vendor":"TandoorRecipes","product":"recipes","versions":[{"version":"< 2.6.4","status":"affected"}]}],"references":[{"url":"https://github.com/TandoorRecipes/recipes/security/advisories/GHSA-9hhh-g2fc-r8x2","name":"https://github.com/TandoorRecipes/recipes/security/advisories/GHSA-9hhh-g2fc-r8x2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/TandoorRecipes/recipes/releases/tag/2.6.4","name":"https://github.com/TandoorRecipes/recipes/releases/tag/2.6.4","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-06T17:20:00.579Z"},"source":{"advisory":"GHSA-9hhh-g2fc-r8x2","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/TandoorRecipes/recipes/security/advisories/GHSA-9hhh-g2fc-r8x2","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-07T15:19:12.515080Z","id":"CVE-2026-35046","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-07T15:59:42.719Z"}}]}}}