{"id":"CVE-2026-8467","published":"2026-05-20T13:35:29Z","modified":"2026-11-20T06:26:08Z","title":"Unauthenticated remote code execution via HEEx template injection in phoenix_storybook playground","vendor":"phenixdigital","product":"phoenix_storybook","tier":"tail","description":{"text":"Code Injection vulnerability in phenixdigital phoenix_storybook allows unauthenticated remote code execution via HEEx template injection in the component playground. A client can send attribute values over the playground WebSocket. A value that closes the attribute quote and adds a HEEx expression is evaluated as Elixir code on the server.\n\nPhoenixStorybook.Story.PlaygroundPreviewLive.handle_event/3 accepts attribute names and values from the client and stores them through PhoenixStorybook.ExtraAssignsHelpers.handle_set_variation_assign/3. PhoenixStorybook.Rendering.ComponentRenderer.attributes_markup/1 interpolates string values into a HEEx template without escaping. The template is compiled with EEx.compile_string/2 and evaluated. Releases published as phx_live_storybook have the same code in the PhxLiveStorybook namespace, where the first client entry point is PhxLiveStorybook.Entry.Playground.handle_event/3.\n\nThis issue affects phoenix_storybook: from 0.5.0 before 1.1.0; phx_live_storybook: from 0.3.0 onward.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.5,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02912,"percentile":0.8733,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/phenixdigital/phoenix_storybook/security/advisories/GHSA-55hg-8qxv-qj4p","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-8467.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-8467","tags":["related"]},{"url":"https://github.com/phenixdigital/phoenix_storybook/commit/e35379dfe2ef1a71b141899e36f431017c55265d","tags":["related"]},{"url":"https://github.com/phenixdigital/phoenix_storybook/commit/56ab8464d4375fa52db806148a06cce126ad481d","tags":["patch"]}],"priority":{"score":29.1,"factors":[{"name":"EPSS percentile","points":17.47},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.65}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-08-27","earliestUrl":"https://github.com/HORKimhab/CVE-2026-8467","repos":[{"name":"HORKimhab/CVE-2026-8467","url":"https://github.com/HORKimhab/CVE-2026-8467","stars":0,"created":"2026-08-27"}]},"first":{"date":"2026-08-27","source":"PoC-in-GitHub","url":"https://github.com/HORKimhab/CVE-2026-8467"},"provenance":"source"},"vendorSlug":"phenixdigital","affectedVersions":[{"vendor":"phenixdigital","product":"phoenix_storybook","versions":[">= 0.5.0, < 1.1.0"]},{"vendor":"phenixdigital","product":"phoenix_storybook","versions":[">= 0.3.0"]},{"vendor":"phenixdigital","product":"phoenix_storybook","versions":[">= e35379dfe2ef1a71b141899e36f431017c55265d, < 56ab8464d4375fa52db806148a06cce126ad481d"]}],"capec":[{"id":"CAPEC-242","name":"Code Injection"}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-05-21T13:57:52.803277Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Hex","package":"phoenix_storybook","vulnerableRanges":[">=0.5.0, <1.1.0"],"patched":["1.1.0"],"from":["GHSA-55hg-8qxv-qj4p"],"provenance":"source"}],"summary":{"text":"The phoenix_storybook component playground, by phenixdigital, contains a code injection flaw in which client-supplied attribute values are interpolated unescaped into a HEEx template and then compiled and evaluated as Elixir on the server, with the same code present in the phx_live_storybook releases. An unauthenticated remote attacker with network access to the playground WebSocket can exploit it without user interaction by sending an attribute value that closes the quote and adds a HEEx expression, enabling arbitrary code execution on the server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:19:10Z"},"euvd":{"id":"EUVD-2026-31112","exploited":false,"provenance":"source"}}