CVE-2026-47068: CWE-639 Authorization Bypass Through User-Controlled Key in phenixdigital phoenix_storybook
Authorization Bypass Through User-Controlled Key vulnerability in phenixdigital phoenix_storybook allows cross-session PubSub topic injection via a URL query parameter. 'Elixir.PhoenixStorybook.Story.ComponentIframeLive':handle_params/3 in lib/phoenix_storybook/live/story/component_iframe_live.ex reads a PubSub topic directly from params["topic"] and broadcasts {:component_iframe_pid, self()} on it with no check that the topic belongs to the requesting session. The shared PhoenixStorybook.PubSub is used to coordinate playground LiveViews with their iframes: a playground subscribes to a session-specific topic and uses the received iframe pid to direct subsequent control messages (variation state, theme switches, extra-assign payloads) via send/2. Because the iframe trusts the query parameter, an attacker who loads /storybook/iframe/<story>?topic=<victim_topic> causes their iframe process pid to be announced on the victim's topic. The victim's playground then addresses its private messages to the attacker's iframe process. This issue affects phoenix_storybook from 0.4.0 before 1.1.0.
AI Analysis
Technical Summary
The vulnerability exists in the Elixir.PhoenixStorybook.Story.ComponentIframeLive module, specifically in the handle_params/3 function, which reads a PubSub topic from the URL query parameter 'topic' without validating that the topic belongs to the requesting session. This allows an attacker to load an iframe with a victim's topic, causing the victim's playground to send control messages to the attacker's iframe process. The affected versions are phoenix_storybook 0.4.0 up to but not including 1.1.0. The issue is classified as CWE-639 (Authorization Bypass Through User-Controlled Key).
Potential Impact
An attacker can cause cross-session message injection by making the victim's playground send private control messages to the attacker's iframe process. This could lead to unauthorized interaction with the victim's session state in the playground LiveView environment. However, the overall impact is limited, reflected by a low CVSS score of 2.3, indicating low severity and limited exploitability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. There is no official fix or patch currently available. Until a patch is released, users should avoid exposing phoenix_storybook instances to untrusted users or implement additional access controls to restrict URL parameter manipulation related to PubSub topics.
CVE-2026-47068: CWE-639 Authorization Bypass Through User-Controlled Key in phenixdigital phoenix_storybook
Description
Authorization Bypass Through User-Controlled Key vulnerability in phenixdigital phoenix_storybook allows cross-session PubSub topic injection via a URL query parameter. 'Elixir.PhoenixStorybook.Story.ComponentIframeLive':handle_params/3 in lib/phoenix_storybook/live/story/component_iframe_live.ex reads a PubSub topic directly from params["topic"] and broadcasts {:component_iframe_pid, self()} on it with no check that the topic belongs to the requesting session. The shared PhoenixStorybook.PubSub is used to coordinate playground LiveViews with their iframes: a playground subscribes to a session-specific topic and uses the received iframe pid to direct subsequent control messages (variation state, theme switches, extra-assign payloads) via send/2. Because the iframe trusts the query parameter, an attacker who loads /storybook/iframe/<story>?topic=<victim_topic> causes their iframe process pid to be announced on the victim's topic. The victim's playground then addresses its private messages to the attacker's iframe process. This issue affects phoenix_storybook from 0.4.0 before 1.1.0.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in the Elixir.PhoenixStorybook.Story.ComponentIframeLive module, specifically in the handle_params/3 function, which reads a PubSub topic from the URL query parameter 'topic' without validating that the topic belongs to the requesting session. This allows an attacker to load an iframe with a victim's topic, causing the victim's playground to send control messages to the attacker's iframe process. The affected versions are phoenix_storybook 0.4.0 up to but not including 1.1.0. The issue is classified as CWE-639 (Authorization Bypass Through User-Controlled Key).
Potential Impact
An attacker can cause cross-session message injection by making the victim's playground send private control messages to the attacker's iframe process. This could lead to unauthorized interaction with the victim's session state in the playground LiveView environment. However, the overall impact is limited, reflected by a low CVSS score of 2.3, indicating low severity and limited exploitability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. There is no official fix or patch currently available. Until a patch is released, users should avoid exposing phoenix_storybook instances to untrusted users or implement additional access controls to restrict URL parameter manipulation related to PubSub topics.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-05-18T17:28:08.321Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0dc2e7ba1db4736284c252
Added to database: 5/20/2026, 2:19:19 PM
Last enriched: 5/20/2026, 2:35:13 PM
Last updated: 5/20/2026, 9:31:41 PM
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.