Cross-session PubSub topic injection via URL parameter in phoenix_storybook
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/?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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-47068
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 14:09 UTC · Revision 1
Source evidence
Cross-session PubSub topic injection via URL parameter in phoenix_storybook
core-osv · Original sourcePublished 20 May 2026, 13:35 UTC
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/?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.
osv:CVE-2026-47068
Complete source record
{
"id": "71e63e2c23f741114e1fa669003111ccf2ceac38f9f1ec05cbc71c6ce0db12b7",
"url": "https://osv.dev/vulnerability/CVE-2026-47068",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Cross-session PubSub topic injection via URL parameter in phoenix_storybook",
"summary": "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/?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.",
"evidence": "osv:CVE-2026-47068",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2026-47068",
"aliases": [
"CVE-2026-47068",
"EEF-CVE-2026-47068",
"GHSA-mrhx-6pw9-q5fh"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/phenixdigital/phoenix_storybook",
"type": "GIT",
"events": [
{
"introduced": "8c2c97b0f505780fee4069988bf86736f51d35d7"
},
{
"fixed": "6ee03f1c738d4436dde1b066cf65c80663d489f5"
},
{
"introduced": "2514a3dd7bdd29d0d1e3cd4021ec92fc37410cdd"
},
{
"fixed": "685e23efc81afd9bc921d4afa984fff34c4b7e55"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "8c2c97b0f505780fee4069988bf86736f51d35d7"
},
{
"fixed": "6ee03f1c738d4436dde1b066cf65c80663d489f5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0.4.0"
},
{
"fixed": "1.1.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "6ee03f1c738d4436dde1b066cf65c80663d489f5"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v1.0.0",
"v0.9.3",
"v0.9.2",
"v0.9.1",
"v0.9.0",
"v0.8.3",
"v0.8.1",
"v0.7.2",
"v0.7.1",
"v0.7.0",
"v0.6.4",
"v0.6.3",
"v0.6.2",
"v0.6.1",
"v0.6.0",
"v0.5.7",
"v0.5.6",
"v0.5.5",
"v0.5.4",
"v0.5.3",
"v0.5.2",
"v0.5.1",
"v0.5.0",
"v0.4.5",
"v0.4.4",
"v0.4.3",
"v0.4.2",
"v0.4.1",
"v0.4.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47068.json"
}
}
],
"modified": "2026-10-28T02:30:29.472959389Z",
"provider": "osv",
"references": [
"https://cna.erlef.org/cves/CVE-2026-47068.html",
"https://github.com",
"https://osv.dev/vulnerability/EEF-CVE-2026-47068",
"https://repo.hex.pm",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47068.json",
"https://github.com/phenixdigital/phoenix_storybook/security/advisories/GHSA-mrhx-6pw9-q5fh",
"https://nvd.nist.gov/vuln/detail/CVE-2026-47068",
"https://github.com/phenixdigital/phoenix_storybook/commit/6ee03f1c738d4436dde1b066cf65c80663d489f5",
"https://github.com/phenixdigital/phoenix_storybook"
],
"provider_metadata": {
"cwe_ids": [
"CWE-639"
],
"cna_assigner": "EEF",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47068.json"
}
},
"related_cves": [
{
"value": "CVE-2026-47068",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496237,
"published_at": "2026-05-20T13:35:33.215+00:00"
}