Authorization Bypass Through User-Controlled Key vulnerability in phenixdigital phoenix_storybook allows cross-session PubSub topic injection via a URL query parameter. An attacker who loads the component iframe with the topic of another session receives the control messages that the victim's playground sends to its iframe.
PhoenixStorybook.Story.ComponentIframeLive.handle_params/3 reads a PubSub topic from params["topic"] and broadcasts {:component_iframe_pid, self()} on it, with no check that the topic belongs to the requesting session. The playground uses the received pid as the target of its later messages (variation state, theme switches, extra-assign payloads). Releases published as phx_live_storybook have the same code in PhxLiveStorybook.Story.ComponentIframeLive.
This issue affects phoenix_storybook: from 0.5.0 before 1.1.0; phx_live_storybook: from 0.4.0 onward.
{
"$schema": "https://cna.erlef.org/schemas/osv/record-0.1.0.json",
"capec_ids": [
"CAPEC-12"
],
"cpe_ids": [
"cpe:2.3:a:phenixdigital:phoenix_storybook:*:*:*:*:*:*:*:*"
],
"cwe_ids": [
"CWE-639"
]
}{
"$schema": "https://cna.erlef.org/schemas/osv/affected-0.1.0.json",
"modules": [
"'Elixir.PhoenixStorybook.Story.ComponentIframeLive'",
"'Elixir.PhxLiveStorybook.Story.ComponentIframeLive'"
],
"program_files": [
"lib/phoenix_storybook/live/story/component_iframe_live.ex",
"lib/phx_live_storybook/live/story/component_iframe_live.ex"
],
"program_routines": [
"'Elixir.PhoenixStorybook.Story.ComponentIframeLive':handle_params/3",
"'Elixir.PhxLiveStorybook.Story.ComponentIframeLive':handle_params/3"
]
}
"https://cna.erlef.org/schemas/osv/affected-0.1.0.json"
[
"'Elixir.PhoenixStorybook.Story.ComponentIframeLive'",
"'Elixir.PhxLiveStorybook.Story.ComponentIframeLive'"
]
[
"lib/phoenix_storybook/live/story/component_iframe_live.ex",
"lib/phx_live_storybook/live/story/component_iframe_live.ex"
]
[
"'Elixir.PhoenixStorybook.Story.ComponentIframeLive':handle_params/3",
"'Elixir.PhxLiveStorybook.Story.ComponentIframeLive':handle_params/3"
]
"https://cna.erlef.org/osv/EEF-CVE-2026-47068.json"
{
"$schema": "https://cna.erlef.org/schemas/osv/affected-0.1.0.json",
"modules": [
"'Elixir.PhoenixStorybook.Story.ComponentIframeLive'",
"'Elixir.PhxLiveStorybook.Story.ComponentIframeLive'"
],
"program_files": [
"lib/phoenix_storybook/live/story/component_iframe_live.ex",
"lib/phx_live_storybook/live/story/component_iframe_live.ex"
],
"program_routines": [
"'Elixir.PhoenixStorybook.Story.ComponentIframeLive':handle_params/3",
"'Elixir.PhxLiveStorybook.Story.ComponentIframeLive':handle_params/3"
]
}
"https://cna.erlef.org/schemas/osv/affected-0.1.0.json"
[
"'Elixir.PhoenixStorybook.Story.ComponentIframeLive'",
"'Elixir.PhxLiveStorybook.Story.ComponentIframeLive'"
]
[
"lib/phoenix_storybook/live/story/component_iframe_live.ex",
"lib/phx_live_storybook/live/story/component_iframe_live.ex"
]
[
"'Elixir.PhoenixStorybook.Story.ComponentIframeLive':handle_params/3",
"'Elixir.PhxLiveStorybook.Story.ComponentIframeLive':handle_params/3"
]
"https://cna.erlef.org/osv/EEF-CVE-2026-47068.json"
"https://cna.erlef.org/schemas/osv/affected-0.1.0.json"
[
"'Elixir.PhoenixStorybook.Story.ComponentIframeLive'",
"'Elixir.PhxLiveStorybook.Story.ComponentIframeLive'"
]
[
"lib/phoenix_storybook/live/story/component_iframe_live.ex",
"lib/phx_live_storybook/live/story/component_iframe_live.ex"
]
[
"'Elixir.PhoenixStorybook.Story.ComponentIframeLive':handle_params/3",
"'Elixir.PhxLiveStorybook.Story.ComponentIframeLive':handle_params/3"
]
"https://cna.erlef.org/osv/EEF-CVE-2026-47068.json"