{"id":"CVE-2026-47068","state":"PUBLISHED","title":"Cross-session PubSub topic injection via URL parameter in 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.\n\n'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.\n\nThis issue affects phoenix_storybook from 0.4.0 before 1.1.0.","publishedAt":"2026-05-20T13:35:33.215Z","updatedAt":"2026-05-27T15:41:37.339Z","severity":{"score":2.3,"label":"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","source":"EEF"},"assigner":"EEF","products":["phenixdigital phoenix_storybook"],"affected":[{"vendor":"phenixdigital","product":"phoenix_storybook","packageName":"phoenix_storybook","packageURL":"pkg:hex/phoenix_storybook","defaultStatus":"unaffected","versions":[{"version":"0.4.0","status":"affected","lessThan":"1.1.0","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:phenixdigital:phoenix_storybook:*:*:*:*:*:*:*:*"],"modules":["'Elixir.PhoenixStorybook.Story.ComponentIframeLive'"],"programFiles":["lib/phoenix_storybook/live/story/component_iframe_live.ex"],"programRoutines":[{"name":"'Elixir.PhoenixStorybook.Story.ComponentIframeLive':handle_params/3"}],"repo":"https://github.com/phenixdigital/phoenix_storybook"},{"vendor":"phenixdigital","product":"phoenix_storybook","packageName":"phenixdigital/phoenix_storybook","packageURL":"pkg:github/phenixdigital/phoenix_storybook","defaultStatus":"unaffected","versions":[{"version":"8c2c97b0f505780fee4069988bf86736f51d35d7","status":"affected","lessThan":"6ee03f1c738d4436dde1b066cf65c80663d489f5","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:phenixdigital:phoenix_storybook:*:*:*:*:*:*:*:*"],"modules":["'Elixir.PhoenixStorybook.Story.ComponentIframeLive'"],"programFiles":["lib/phoenix_storybook/live/story/component_iframe_live.ex"],"programRoutines":[{"name":"'Elixir.PhoenixStorybook.Story.ComponentIframeLive':handle_params/3"}],"repo":"https://github.com/phenixdigital/phoenix_storybook"}],"references":["https://github.com/phenixdigital/phoenix_storybook/security/advisories/GHSA-mrhx-6pw9-q5fh","https://cna.erlef.org/cves/CVE-2026-47068.html","https://osv.dev/vulnerability/EEF-CVE-2026-47068","https://github.com/phenixdigital/phoenix_storybook/commit/6ee03f1c738d4436dde1b066cf65c80663d489f5"],"weaknesses":["CWE-639"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/47xxx/CVE-2026-47068.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-47068","state":"PUBLISHED","datePublished":"2026-05-20T13:35:33.215Z","dateUpdated":"2026-05-27T15:41:37.339Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2026-05-18T17:28:08.321Z"},"containers":{"cna":{"title":"Cross-session PubSub topic injection via URL parameter in phoenix_storybook","descriptions":[{"lang":"en","value":"Authorization Bypass Through User-Controlled Key vulnerability in phenixdigital phoenix_storybook allows cross-session PubSub topic injection via a URL query parameter.\n\n'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.\n\nThis issue affects phoenix_storybook from 0.4.0 before 1.1.0."}],"affected":[{"vendor":"phenixdigital","product":"phoenix_storybook","packageName":"phoenix_storybook","packageURL":"pkg:hex/phoenix_storybook","defaultStatus":"unaffected","versions":[{"version":"0.4.0","status":"affected","lessThan":"1.1.0","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:phenixdigital:phoenix_storybook:*:*:*:*:*:*:*:*"],"modules":["'Elixir.PhoenixStorybook.Story.ComponentIframeLive'"],"programFiles":["lib/phoenix_storybook/live/story/component_iframe_live.ex"],"programRoutines":[{"name":"'Elixir.PhoenixStorybook.Story.ComponentIframeLive':handle_params/3"}],"repo":"https://github.com/phenixdigital/phoenix_storybook"},{"vendor":"phenixdigital","product":"phoenix_storybook","packageName":"phenixdigital/phoenix_storybook","packageURL":"pkg:github/phenixdigital/phoenix_storybook","defaultStatus":"unaffected","versions":[{"version":"8c2c97b0f505780fee4069988bf86736f51d35d7","status":"affected","lessThan":"6ee03f1c738d4436dde1b066cf65c80663d489f5","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:phenixdigital:phoenix_storybook:*:*:*:*:*:*:*:*"],"modules":["'Elixir.PhoenixStorybook.Story.ComponentIframeLive'"],"programFiles":["lib/phoenix_storybook/live/story/component_iframe_live.ex"],"programRoutines":[{"name":"'Elixir.PhoenixStorybook.Story.ComponentIframeLive':handle_params/3"}],"repo":"https://github.com/phenixdigital/phoenix_storybook"}],"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/6ee03f1c738d4436dde1b066cf65c80663d489f5","tags":["patch"]}],"metrics":[{"cvssV4_0":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":2.3,"baseSeverity":"LOW","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-639","description":"CWE-639 Authorization Bypass Through User-Controlled Key","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-05-27T15:41:37.339Z"},"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:phenixdigital:phoenix_storybook:*:*:*:*:*:*:*:*","versionEndExcluding":"1.1.0","versionStartIncluding":"0.4.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"credits":[{"lang":"en","type":"finder","value":"Peter Ullrich"},{"lang":"en","type":"remediation developer","value":"Christian Blavier"},{"lang":"en","type":"analyst","value":"Jonatan Männchen / EEF"}],"impacts":[{"capecId":"CAPEC-12","descriptions":[{"lang":"en","value":"CAPEC-12 Choosing Message Identifier"}]}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/phenixdigital/phoenix_storybook/security/advisories/GHSA-mrhx-6pw9-q5fh","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-21T13:59:23.206364Z","id":"CVE-2026-47068","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-21T13:59:48.062Z"}}]}}}