{"answers":{"affected":"3 open source packages ship an affected version, including phoenix_storybook.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47068 exists.","fix":"Upgrade phoenix_storybook to 1.1.0 or later.","what":"CVE-2026-47068 is a low-severity missing authorization vulnerability in phenixdigital phoenix_storybook, published on 20 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-47068 and fix it if it is affected.\n\nWhat it is: CVE-2026-47068 is a low-severity missing authorization vulnerability in phenixdigital phoenix_storybook, published on 20 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47068 exists.\n\nAffected packages and fixed versions:\n- phoenix_storybook (Hex): affected from 0.4.0; fixed in 1.1.0\n- phoenix_storybook (Hex): affected from 0.4.0; fixed in 1.1.0\n- phoenix_storybook (Hex): affected from 0.4.0; fixed in 1.1.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-47068/ (Markdown: https://insights.sbomify.com/CVE-2026-47068/index.md)","id":"CVE-2026-47068","markdown":"https://insights.sbomify.com/CVE-2026-47068/index.md","name":"CVE-2026-47068","record":{"aliases":["EEF-CVE-2026-47068","GHSA-mrhx-6pw9-q5fh"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Phoenix Storybook library","requires_auth":"none","summary":"Attackers can inject their process into victim sessions via URL parameters, allowing them to intercept or manipulate private playground messages in Phoenix Storybook.","user_interaction":"required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[],"cvss":{"score":2.3,"severity":"low","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"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/\u003cstory\u003e?topic=\u003cvictim_topic\u003e 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.","ecosystems":["Hex"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Cross-session PubSub topic injection via URL parameter in phoenix_storybook","id":"CVE-2026-47068","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"CRLF injection in cookie domain/path options in hackney","id":"CVE-2026-47069"},"packages":[{"ecosystem":"Hex","fixed":["1.1.0"],"introduced":["0.4.0"],"last_affected":[],"package":"phoenix_storybook","purl":"pkg:hex/phoenix_storybook","source":"EEF-CVE-2026-47068"},{"ecosystem":"Hex","fixed":["1.1.0"],"introduced":["0.4.0"],"last_affected":[],"package":"phoenix_storybook","purl":null,"source":"GHSA-mrhx-6pw9-q5fh"},{"ecosystem":"Hex","fixed":["1.1.0"],"introduced":["0.4.0"],"last_affected":[],"package":"phoenix_storybook","purl":"pkg:hex/phoenix_storybook","source":"GHSA-mrhx-6pw9-q5fh"}],"prev":{"headline":"Atom table exhaustion via unrecognized URL schemes in hackney","id":"CVE-2026-47067"},"products":["phoenix_storybook"],"published":"2026-05-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Erlang Ecosystem Foundation","prefix":"EEF"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-27","vendors":["phenixdigital"]},"summary":"Attackers can inject their process into victim sessions via URL parameters, allowing them to intercept or manipulate private playground messages in Phoenix Storybook.","url":"https://insights.sbomify.com/CVE-2026-47068/"}