Technical impact
The vulnerability is triggered when the component handles a URL query parameter named "topic". PhoenixStorybook.Story.ComponentIframeLive.handle_params/3 reads this value, broadcasts a tuple containing the process ID of the iframe without verifying that the supplied topic belongs to the current user session. The playground LiveView then uses the received identifier to target later messages, such as variation changes, theme switches, or custom payloads. By supplying a topic of another session in the iframe’s URL, an attacker can register with that session’s PubSub topic and receive the victim’s control messages, effectively manipulating the victim’s UI state without permission. This represents an authorization bypass through a user‑controlled key.
Affected Systems
Products affected are phenixdigital phoenix_storybook versions prior to 1.1.0, including all releases from 0.5.0 up to but not including 1.1.0. The vulnerability is also present in phx_live_storybook releases starting from 0.4.0 onward.
Risk and Exploitability
The CVSS score of 2.3 indicates low overall severity. Exploitation requires an attacker to construct a crafted URL containing the topic of a victim’s session; authentication or privileged access is not needed. The EPSS score of < 1% suggests a very low probability of widespread exploitation, and the lack of a KEV listing further reduces immediacy of concern. Nonetheless, the convenience of a simple URL trick means a determined attacker could use phishing or malicious links to target users, and once triggered, the attacker can alter UI state or themes in the victim’s session, which could interfere with testing or demonstrations.
Github GHSA