Code Injection in phoenix_storybook
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-8467 has been found in phoenix_storybook.
Risk of unauthorized operations or information disclosure.
What to do: upgrade phoenix_storybook to 1.1.0 or later.
If unsure, ask your IT team or search "phoenix_storybook CVE-2026-8467" on the vendor's site.
CVE-2026-8467 (phoenix_storybook) — CWE-94
Patched: 1.1.0 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Arbitrary code execution (CWE-94) exists in phoenix_storybook.
Check the vendor advisory for the affected versions of phoenix_storybook.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 1.1.0.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'phoenix_storybook' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'phoenix_storybook' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
phoenix_storybookを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade phoenix_storybook to 1.1.0ステージング環境で 1.1.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Hexphoenix_storybook |
≥ 0.5.0, < 1.1.0→ 1.1.0 |
1.1.0 |
| erlangphoenix_storybook |
< 1.1.0→ 1.1.0 |
1.1.0 |
| phenixdigitalphoenix_storybook |
≥ e35379dfe2ef1a71b141899e36f431017c55265d, < 56ab8464d4375fa52db806148a06cce126ad481d→ 56ab8464d4375fa52db806148a06cce126ad481d |
56ab8464d4375fa52db806148a06cce126ad481d |
| Hexphx_live_storybook |
≥ 0.3.0 (no fix yet)→ Not listed |
Not listed |
Original description The description as published by the source.
Summary
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package hex.pm
- package github.com
- package hex.pm
- patch github.com
- web cna.erlef.org
- web osv.dev
- web github.com
- web github.com
- web repo.hex.pm
- web github.com