{"id":"CVE-2026-47068","published":"2026-05-20T13:35:33Z","modified":"2026-11-20T07:56:12Z","title":"Cross-session PubSub topic injection via URL parameter in phoenix_storybook","vendor":"phenixdigital","product":"phoenix_storybook","tier":"tail","description":{"text":"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.\n\nPhoenixStorybook.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.\n\nThis issue affects phoenix_storybook: from 0.5.0 before 1.1.0; phx_live_storybook: from 0.4.0 onward.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.3,"severity":"LOW","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00545,"percentile":0.46656,"provenance":"source"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://github.com/phenixdigital/phoenix_storybook/security/advisories/GHSA-mrhx-6pw9-q5fh","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-47068.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-47068","tags":["related"]},{"url":"https://github.com/phenixdigital/phoenix_storybook/commit/8c2c97b0f505780fee4069988bf86736f51d35d7","tags":["related"]},{"url":"https://github.com/phenixdigital/phoenix_storybook/commit/6ee03f1c738d4436dde1b066cf65c80663d489f5","tags":["patch"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":9.33},{"name":"CVSS severity","points":1.61}]},"vendorSlug":"phenixdigital","affectedVersions":[{"vendor":"phenixdigital","product":"phoenix_storybook","versions":[">= 0.5.0, < 1.1.0"]},{"vendor":"phenixdigital","product":"phoenix_storybook","versions":[">= 0.4.0"]},{"vendor":"phenixdigital","product":"phoenix_storybook","versions":[">= 8c2c97b0f505780fee4069988bf86736f51d35d7, < 6ee03f1c738d4436dde1b066cf65c80663d489f5"]}],"capec":[{"id":"CAPEC-12","name":"Choosing Message Identifier"}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-21T13:59:23.206364Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Hex","package":"phoenix_storybook","vulnerableRanges":[">=0.4.0, <1.1.0"],"patched":["1.1.0"],"from":["GHSA-mrhx-6pw9-q5fh"],"provenance":"source"}],"summary":{"text":"The phoenix_storybook component iframe LiveView (ComponentIframeLive, in lib/phoenix_storybook/live/story/component_iframe_live.ex) takes a PubSub topic straight from the URL query parameter and announces its process on that topic without checking that the topic belongs to the requesting session. An attacker who can get a victim to open a crafted iframe URL, which requires user interaction, can cause the victim's playground to direct its private control messages to the attacker's process over the shared PubSub.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:33Z"},"euvd":{"id":"EUVD-2026-31111","exploited":false,"provenance":"source"}}