Skip to content

CVE-2026-47068 Cross-session PubSub topic injection via URL parameter in phoenix_storybook

LowCVSS 2.3 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

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.

Upgrade path

2 packages: 1 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
phenixdigital phoenix storybook >= 0.4.0; >= 0.5.0, < 1.1.0; >= 8c2c97b0f505780fee4069988bf86736f51d35d7, < 6ee03f1c738d4436dde1b066cf65c80663d489f5 1.1.0, 6ee03f1c738d4436dde1b066cf65c80663d489f5 Partially fixed
hex phoenix_storybook(Hex) >= 0.4.0, < 1.1.0 1.1.0 Fixed

Affected products

ProductAffected versionsFixed in
hex phoenix_storybook(Hex) >= 0.4.0, < 1.1.0 1.1.0
phenixdigital phoenix storybook >= 0.5.0, < 1.1.0 1.1.0
phenixdigital phoenix storybook >= 0.4.0 No fix listed
phenixdigital phoenix storybook >= 8c2c97b0f505780fee4069988bf86736f51d35d7, < 6ee03f1c738d4436dde1b066cf65c80663d489f5 6ee03f1c738d4436dde1b066cf65c80663d489f5

References