Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-47068: CWE-639 Authorization Bypass Through User-Controlled Key in phenixdigital phoenix_storybook

0
Low
VulnerabilityCVE-2026-47068cvecve-2026-47068cwe-639
Published: Wed May 20 2026 (05/20/2026, 13:35:33 UTC)
Source: CVE Database V5
Vendor/Project: phenixdigital
Product: 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

AILast updated: 05/20/2026, 14:35:13 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses