# CVE-2026-8467: Unauthenticated remote code execution via HEEx template injection in phoenix_storybook playground

- Severity: Critical 9.5 (CVSS:4.0, scored by EEF) `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`
- 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): 2.91%, higher than 87% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-20T13:35:29.018Z
- Modified: 2026-11-26T17:23:13.721Z
- Also known as: GHSA-55hg-8qxv-qj4p, EEF-CVE-2026-8467
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: EEF

## Description

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.

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

This issue affects phoenix_storybook: from 0.5.0 before 1.1.0; phx_live_storybook: from 0.3.0 onward.

(As written by CVE List.)

## Affected

- phoenix_storybook: from 0.5.0 before 1.1.0
- phx_live_storybook: from 0.3.0 before *
- phenixdigital/phoenix_storybook: from e35379dfe2ef1a71b141899e36f431017c55265d before 56ab8464d4375fa52db806148a06cce126ad481d
- phoenix_storybook (Hex): from 0.5.0 before 1.1.0
- phx_live_storybook (Hex): from 0.3.0
- https://github.com/phenixdigital/phoenix_storybook: from e35379dfe2ef1a71b141899e36f431017c55265d before 56ab8464d4375fa52db806148a06cce126ad481d

## Every score

- EEF: CVSS:4.0 9.5 Critical `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`
- GitHub: CVSS:4.0 Critical `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/phenixdigital/phoenix_storybook/security/advisories/GHSA-55hg-8qxv-qj4p> (exploit, advisory, related, vendor-advisory, web)
- <https://cna.erlef.org/cves/CVE-2026-8467.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-8467> (related, web)
- <https://github.com/phenixdigital/phoenix_storybook/commit/e35379dfe2ef1a71b141899e36f431017c55265d> (related, web)
- <https://github.com/phenixdigital/phoenix_storybook/commit/56ab8464d4375fa52db806148a06cce126ad481d> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-8467> (advisory)
- <https://github.com/phenixdigital/phoenix_storybook> (package)
- <https://hex.pm/packages/phoenix_storybook> (package)
- <https://hex.pm/packages/phx_live_storybook> (package)

## Sources

- CVE List: [CVE-2026-8467](https://www.cve.org/CVERecord?id=CVE-2026-8467), CVE Terms of Use, modified 2026-11-20
- GitHub Advisory Database: [GHSA-55hg-8qxv-qj4p](https://github.com/advisories/GHSA-55hg-8qxv-qj4p), CC-BY-4.0, modified 2026-06-09
- Erlang Ecosystem Foundation: [EEF-CVE-2026-8467](https://osv.dev/vulnerability/EEF-CVE-2026-8467), CC-BY-4.0, modified 2026-11-26
- NVD: [CVE-2026-8467](https://nvd.nist.gov/vuln/detail/CVE-2026-8467), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-8467 · Whole record: https://cve.day/CVE-2026-8467.json · Rebuilt by cve.day 2026-11-26T17:37:17.159Z
