{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-8467","id":"CVE-2026-8467","title":"Unauthenticated remote code execution via HEEx template injection in phoenix_storybook playground","description":"Code Injection vulnerability in phenixdigital phoenix_storybook allows unauthenticated remote code execution via unsanitized attribute value interpolation in HEEx template generation.\n\nThe psb-assign WebSocket event handler in 'Elixir.PhoenixStorybook.Story.PlaygroundPreviewLive':handle_event/3 accepts arbitrary attribute names and values from unauthenticated clients. These values are passed to 'E","descriptionLong":"Code Injection vulnerability in phenixdigital phoenix_storybook allows unauthenticated remote code execution via unsanitized attribute value interpolation in HEEx template generation.\n\nThe psb-assign WebSocket event handler in 'Elixir.PhoenixStorybook.Story.PlaygroundPreviewLive':handle_event/3 accepts arbitrary attribute names and values from unauthenticated clients. These values are passed to 'Elixir.PhoenixStorybook.Helpers.ExtraAssignsHelpers':handle_set_variation_assign/3, which stores them verbatim. When rendering, 'Elixir.PhoenixStorybook.Rendering.ComponentRenderer':attributes_markup/1 interpolates binary attribute values directly into a HEEx template string as name=\"<val>\" without escaping double quotes or HEEx expression delimiters. An attacker can supply a value containing a closing quote followed by a HEEx expression block (e.g. foo\" injected={EXPR} bar=\"), which causes EXPR to be treated as an inline Elixir expression. The resulting template is compiled via EEx.compile_string/2 and executed via Code.eval_quoted_with_env/3 with full Kernel imports and no sandbox, giving the attacker arbitrary code execution on the server.\n\nThis issue affects phoenix_storybook from 0.5.0 before 1.1.0.","published":"2026-05-20T13:35:29.018Z","updated":"2026-10-28T02:30:44.008391055Z","reserved":"2026-05-13T11:44:40.790Z","status":"Deferred","rejected":false,"assigner":"EEF","metric":{"version":"4.0","score":9.5,"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","rating":"critical","source":"EEF"},"metrics":[{"version":"4.0","score":9.5,"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","rating":"critical","source":"EEF"},{"version":"4.0","score":9.5,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"critical","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"critical","source":"GitHub"}],"rating":"critical","products":["phenixdigital phoenix_storybook"],"affectedProducts":[{"vendor":"phenixdigital","product":"phoenix_storybook","defaultStatus":"unaffected","versions":[{"lessThan":"1.1.0","status":"affected","version":"0.5.0","versionType":"semver"}],"platforms":[]},{"vendor":"phenixdigital","product":"phoenix_storybook","defaultStatus":"unaffected","versions":[{"lessThan":"56ab8464d4375fa52db806148a06cce126ad481d","status":"affected","version":"e35379dfe2ef1a71b141899e36f431017c55265d","versionType":"git"}],"platforms":[]}],"packages":[{"ecosystem":"Hex","name":"phoenix_storybook","purl":"pkg:hex/phoenix_storybook","ranges":[">=0.5.0 <1.1.0"],"fixed":["1.1.0"],"advisory":"GHSA-55hg-8qxv-qj4p"}],"cwes":["CWE-94"],"aliases":["EEF-CVE-2026-8467","GHSA-55hg-8qxv-qj4p"],"references":[{"url":"https://github.com/phenixdigital/phoenix_storybook/security/advisories/GHSA-55hg-8qxv-qj4p","tags":["vendor-advisory","related","exploit","advisory","web"]},{"url":"https://cna.erlef.org/cves/CVE-2026-8467.html","tags":["related","web"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-8467","tags":["related","web"]},{"url":"https://github.com/phenixdigital/phoenix_storybook/commit/56ab8464d4375fa52db806148a06cce126ad481d","tags":["patch","fix","web"]},{"url":"https://github.com","tags":["web"]},{"url":"https://repo.hex.pm","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8467.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8467","tags":["advisory"]},{"url":"https://github.com/phenixdigital/phoenix_storybook","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.02111,"epssPercentile":0.82195,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-8467","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8467","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-8467","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-55hg-8qxv-qj4p","ok":true,"note":"GHSA-55hg-8qxv-qj4p"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-8467","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}