EEF-CVE-2026-8467

Source
https://cna.erlef.org/osv/EEF-CVE-2026-8467.html
Import Source
https://cna.erlef.org/osv/EEF-CVE-2026-8467.json
JSON Data
https://api.osv.dev/v1/vulns/EEF-CVE-2026-8467
Aliases
Published
2026-05-20T13:35:29Z
Modified
2026-11-26T17:23:13Z
Severity
  • 9.5 (Critical) CVSS_V4 - 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 (Source: CNA) CVSS Calculator
Summary
Unauthenticated remote code execution via HEEx template injection in phoenix_storybook playground
Details

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.

Database specific
{
    "$schema":  "https://cna.erlef.org/schemas/osv/record-0.1.0.json",
    "capec_ids":  [
        "CAPEC-242"
    ],
    "cpe_ids":  [
        "cpe:2.3:a:phenixdigital:phoenix_storybook:*:*:*:*:*:*:*:*"
    ],
    "cwe_ids":  [
        "CWE-94"
    ]
}
References
Credits
    • Nick Mykhailyshyn - FINDER
    • Cenk Kücük - ANALYST
    • Jonatan Männchen / EEF - ANALYST
    • Christian Blavier - REMEDIATION_DEVELOPER

Affected packages

Hex / phoenix_storybook

Package

Name
phoenix_storybook
Purl
pkg:hex/phoenix_storybook

Affected ranges

Type
SEMVER
Events
Introduced
0.5.0
Fixed
1.1.0

Affected versions

0.*
0.5.0
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.6.0
0.6.1
0.6.2
0.6.3
0.6.4
0.7.0
0.7.1
0.7.2
0.8.0
0.8.1
0.8.2
0.8.3
0.9.0
0.9.1
0.9.2
0.9.3
1.*
1.0.0

Ecosystem specific

{
    "$schema":  "https://cna.erlef.org/schemas/osv/affected-0.1.0.json",
    "modules":  [
        "'Elixir.PhoenixStorybook.Rendering.ComponentRenderer'",
        "'Elixir.PhoenixStorybook.Story.PlaygroundPreviewLive'",
        "'Elixir.PhoenixStorybook.ExtraAssignsHelpers'",
        "'Elixir.PhxLiveStorybook.Rendering.ComponentRenderer'",
        "'Elixir.PhxLiveStorybook.Story.PlaygroundPreviewLive'",
        "'Elixir.PhxLiveStorybook.ExtraAssignsHelpers'",
        "'Elixir.PhxLiveStorybook.Entry.Playground'",
        "'Elixir.PhxLiveStorybook.Entry.PlaygroundPreviewLive'"
    ],
    "program_files":  [
        "lib/phoenix_storybook/rendering/component_renderer.ex",
        "lib/phoenix_storybook/live/story/playground_preview_live.ex",
        "lib/phoenix_storybook/helpers/extra_assigns_helpers.ex",
        "lib/phx_live_storybook/rendering/component_renderer.ex",
        "lib/phx_live_storybook/live/story/playground_preview_live.ex",
        "lib/phx_live_storybook/helpers/extra_assigns_helpers.ex",
        "lib/phx_live_storybook/live/entry/playground.ex",
        "lib/phx_live_storybook/live/entry/playground_preview_live.ex"
    ],
    "program_routines":  [
        "'Elixir.PhoenixStorybook.Rendering.ComponentRenderer':attributes_markup/1",
        "'Elixir.PhoenixStorybook.Story.PlaygroundPreviewLive':handle_event/3",
        "'Elixir.PhoenixStorybook.ExtraAssignsHelpers':handle_set_variation_assign/3",
        "'Elixir.PhxLiveStorybook.Rendering.ComponentRenderer':attributes_markup/1",
        "'Elixir.PhxLiveStorybook.Rendering.ComponentRenderer':attributes_markup/2",
        "'Elixir.PhxLiveStorybook.Story.PlaygroundPreviewLive':handle_event/3",
        "'Elixir.PhxLiveStorybook.ExtraAssignsHelpers':handle_set_variation_assign/3",
        "'Elixir.PhxLiveStorybook.ExtraAssignsHelpers':handle_set_variation_assign/4",
        "'Elixir.PhxLiveStorybook.Entry.Playground':handle_event/3",
        "'Elixir.PhxLiveStorybook.Entry.PlaygroundPreviewLive':handle_info/2"
    ]
}

Database specific

$schema
"https://cna.erlef.org/schemas/osv/affected-0.1.0.json"
modules
[
    "'Elixir.PhoenixStorybook.Rendering.ComponentRenderer'",
    "'Elixir.PhoenixStorybook.Story.PlaygroundPreviewLive'",
    "'Elixir.PhoenixStorybook.ExtraAssignsHelpers'",
    "'Elixir.PhxLiveStorybook.Rendering.ComponentRenderer'",
    "'Elixir.PhxLiveStorybook.Story.PlaygroundPreviewLive'",
    "'Elixir.PhxLiveStorybook.ExtraAssignsHelpers'",
    "'Elixir.PhxLiveStorybook.Entry.Playground'",
    "'Elixir.PhxLiveStorybook.Entry.PlaygroundPreviewLive'"
]
program_files
[
    "lib/phoenix_storybook/rendering/component_renderer.ex",
    "lib/phoenix_storybook/live/story/playground_preview_live.ex",
    "lib/phoenix_storybook/helpers/extra_assigns_helpers.ex",
    "lib/phx_live_storybook/rendering/component_renderer.ex",
    "lib/phx_live_storybook/live/story/playground_preview_live.ex",
    "lib/phx_live_storybook/helpers/extra_assigns_helpers.ex",
    "lib/phx_live_storybook/live/entry/playground.ex",
    "lib/phx_live_storybook/live/entry/playground_preview_live.ex"
]
program_routines
[
    "'Elixir.PhoenixStorybook.Rendering.ComponentRenderer':attributes_markup/1",
    "'Elixir.PhoenixStorybook.Story.PlaygroundPreviewLive':handle_event/3",
    "'Elixir.PhoenixStorybook.ExtraAssignsHelpers':handle_set_variation_assign/3",
    "'Elixir.PhxLiveStorybook.Rendering.ComponentRenderer':attributes_markup/1",
    "'Elixir.PhxLiveStorybook.Rendering.ComponentRenderer':attributes_markup/2",
    "'Elixir.PhxLiveStorybook.Story.PlaygroundPreviewLive':handle_event/3",
    "'Elixir.PhxLiveStorybook.ExtraAssignsHelpers':handle_set_variation_assign/3",
    "'Elixir.PhxLiveStorybook.ExtraAssignsHelpers':handle_set_variation_assign/4",
    "'Elixir.PhxLiveStorybook.Entry.Playground':handle_event/3",
    "'Elixir.PhxLiveStorybook.Entry.PlaygroundPreviewLive':handle_info/2"
]
source
"https://cna.erlef.org/osv/EEF-CVE-2026-8467.json"

Hex / phx_live_storybook

Package

Name
phx_live_storybook
Purl
pkg:hex/phx_live_storybook

Affected ranges

Type
SEMVER
Events
Introduced
0.3.0

Affected versions

0.*
0.3.0
0.4.0
0.4.1
0.4.2
0.4.3
0.4.4
0.4.5

Ecosystem specific

{
    "$schema":  "https://cna.erlef.org/schemas/osv/affected-0.1.0.json",
    "modules":  [
        "'Elixir.PhoenixStorybook.Rendering.ComponentRenderer'",
        "'Elixir.PhoenixStorybook.Story.PlaygroundPreviewLive'",
        "'Elixir.PhoenixStorybook.ExtraAssignsHelpers'",
        "'Elixir.PhxLiveStorybook.Rendering.ComponentRenderer'",
        "'Elixir.PhxLiveStorybook.Story.PlaygroundPreviewLive'",
        "'Elixir.PhxLiveStorybook.ExtraAssignsHelpers'",
        "'Elixir.PhxLiveStorybook.Entry.Playground'",
        "'Elixir.PhxLiveStorybook.Entry.PlaygroundPreviewLive'"
    ],
    "program_files":  [
        "lib/phoenix_storybook/rendering/component_renderer.ex",
        "lib/phoenix_storybook/live/story/playground_preview_live.ex",
        "lib/phoenix_storybook/helpers/extra_assigns_helpers.ex",
        "lib/phx_live_storybook/rendering/component_renderer.ex",
        "lib/phx_live_storybook/live/story/playground_preview_live.ex",
        "lib/phx_live_storybook/helpers/extra_assigns_helpers.ex",
        "lib/phx_live_storybook/live/entry/playground.ex",
        "lib/phx_live_storybook/live/entry/playground_preview_live.ex"
    ],
    "program_routines":  [
        "'Elixir.PhoenixStorybook.Rendering.ComponentRenderer':attributes_markup/1",
        "'Elixir.PhoenixStorybook.Story.PlaygroundPreviewLive':handle_event/3",
        "'Elixir.PhoenixStorybook.ExtraAssignsHelpers':handle_set_variation_assign/3",
        "'Elixir.PhxLiveStorybook.Rendering.ComponentRenderer':attributes_markup/1",
        "'Elixir.PhxLiveStorybook.Rendering.ComponentRenderer':attributes_markup/2",
        "'Elixir.PhxLiveStorybook.Story.PlaygroundPreviewLive':handle_event/3",
        "'Elixir.PhxLiveStorybook.ExtraAssignsHelpers':handle_set_variation_assign/3",
        "'Elixir.PhxLiveStorybook.ExtraAssignsHelpers':handle_set_variation_assign/4",
        "'Elixir.PhxLiveStorybook.Entry.Playground':handle_event/3",
        "'Elixir.PhxLiveStorybook.Entry.PlaygroundPreviewLive':handle_info/2"
    ]
}

Database specific

$schema
"https://cna.erlef.org/schemas/osv/affected-0.1.0.json"
modules
[
    "'Elixir.PhoenixStorybook.Rendering.ComponentRenderer'",
    "'Elixir.PhoenixStorybook.Story.PlaygroundPreviewLive'",
    "'Elixir.PhoenixStorybook.ExtraAssignsHelpers'",
    "'Elixir.PhxLiveStorybook.Rendering.ComponentRenderer'",
    "'Elixir.PhxLiveStorybook.Story.PlaygroundPreviewLive'",
    "'Elixir.PhxLiveStorybook.ExtraAssignsHelpers'",
    "'Elixir.PhxLiveStorybook.Entry.Playground'",
    "'Elixir.PhxLiveStorybook.Entry.PlaygroundPreviewLive'"
]
program_files
[
    "lib/phoenix_storybook/rendering/component_renderer.ex",
    "lib/phoenix_storybook/live/story/playground_preview_live.ex",
    "lib/phoenix_storybook/helpers/extra_assigns_helpers.ex",
    "lib/phx_live_storybook/rendering/component_renderer.ex",
    "lib/phx_live_storybook/live/story/playground_preview_live.ex",
    "lib/phx_live_storybook/helpers/extra_assigns_helpers.ex",
    "lib/phx_live_storybook/live/entry/playground.ex",
    "lib/phx_live_storybook/live/entry/playground_preview_live.ex"
]
program_routines
[
    "'Elixir.PhoenixStorybook.Rendering.ComponentRenderer':attributes_markup/1",
    "'Elixir.PhoenixStorybook.Story.PlaygroundPreviewLive':handle_event/3",
    "'Elixir.PhoenixStorybook.ExtraAssignsHelpers':handle_set_variation_assign/3",
    "'Elixir.PhxLiveStorybook.Rendering.ComponentRenderer':attributes_markup/1",
    "'Elixir.PhxLiveStorybook.Rendering.ComponentRenderer':attributes_markup/2",
    "'Elixir.PhxLiveStorybook.Story.PlaygroundPreviewLive':handle_event/3",
    "'Elixir.PhxLiveStorybook.ExtraAssignsHelpers':handle_set_variation_assign/3",
    "'Elixir.PhxLiveStorybook.ExtraAssignsHelpers':handle_set_variation_assign/4",
    "'Elixir.PhxLiveStorybook.Entry.Playground':handle_event/3",
    "'Elixir.PhxLiveStorybook.Entry.PlaygroundPreviewLive':handle_info/2"
]
source
"https://cna.erlef.org/osv/EEF-CVE-2026-8467.json"

Git / github.com/phenixdigital/phoenix_storybook

Affected ranges

Type
GIT
Repo
https://github.com/phenixdigital/phoenix_storybook
Events

Database specific

$schema
"https://cna.erlef.org/schemas/osv/affected-0.1.0.json"
modules
[
    "'Elixir.PhoenixStorybook.Rendering.ComponentRenderer'",
    "'Elixir.PhoenixStorybook.Story.PlaygroundPreviewLive'",
    "'Elixir.PhoenixStorybook.ExtraAssignsHelpers'",
    "'Elixir.PhxLiveStorybook.Rendering.ComponentRenderer'",
    "'Elixir.PhxLiveStorybook.Story.PlaygroundPreviewLive'",
    "'Elixir.PhxLiveStorybook.ExtraAssignsHelpers'",
    "'Elixir.PhxLiveStorybook.Entry.Playground'",
    "'Elixir.PhxLiveStorybook.Entry.PlaygroundPreviewLive'"
]
program_files
[
    "lib/phoenix_storybook/rendering/component_renderer.ex",
    "lib/phoenix_storybook/live/story/playground_preview_live.ex",
    "lib/phoenix_storybook/helpers/extra_assigns_helpers.ex",
    "lib/phx_live_storybook/rendering/component_renderer.ex",
    "lib/phx_live_storybook/live/story/playground_preview_live.ex",
    "lib/phx_live_storybook/helpers/extra_assigns_helpers.ex",
    "lib/phx_live_storybook/live/entry/playground.ex",
    "lib/phx_live_storybook/live/entry/playground_preview_live.ex"
]
program_routines
[
    "'Elixir.PhoenixStorybook.Rendering.ComponentRenderer':attributes_markup/1",
    "'Elixir.PhoenixStorybook.Story.PlaygroundPreviewLive':handle_event/3",
    "'Elixir.PhoenixStorybook.ExtraAssignsHelpers':handle_set_variation_assign/3",
    "'Elixir.PhxLiveStorybook.Rendering.ComponentRenderer':attributes_markup/1",
    "'Elixir.PhxLiveStorybook.Rendering.ComponentRenderer':attributes_markup/2",
    "'Elixir.PhxLiveStorybook.Story.PlaygroundPreviewLive':handle_event/3",
    "'Elixir.PhxLiveStorybook.ExtraAssignsHelpers':handle_set_variation_assign/3",
    "'Elixir.PhxLiveStorybook.ExtraAssignsHelpers':handle_set_variation_assign/4",
    "'Elixir.PhxLiveStorybook.Entry.Playground':handle_event/3",
    "'Elixir.PhxLiveStorybook.Entry.PlaygroundPreviewLive':handle_info/2"
]
source
"https://cna.erlef.org/osv/EEF-CVE-2026-8467.json"