{
  "id": "CVE-2026-8467",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-8467",
  "published_at": "2026-05-20T13:35:29.018Z",
  "title": "Unauthenticated remote code execution via HEEx template injection in phoenix_storybook playground",
  "vendor": "phenixdigital",
  "product": "phoenix_storybook",
  "cvss": {
    "score": 9.5,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-08-27T02:16:55Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 98.5,
    "repo": "HORKimhab/CVE-2026-8467",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Code Injection vulnerability in phenixdigital phoenix_storybook allows unauthenticated remote code execution via unsanitized attribute value interpolation in HEEx template generation.\n\nThe psb-assign WebSocket event handler in 'Elixir.PhoenixStorybook.Story.PlaygroundPreviewLive':handle_event/3 accepts arbitrary attribute names and values from unauthenticated clients. These values are passed to 'Elixir.PhoenixStorybook.Helpers.ExtraAssignsHelpers':handle_set_variation_assign/3, which stores them verbatim. When rendering, 'Elixir.PhoenixStorybook.Rendering.ComponentRenderer':attributes_markup/1 interpolates binary attribute values directly into a HEEx template string as name=\"\u003cval\u003e\" without escaping double quotes or HEEx expression delimiters. An attacker can supply a value containing a closing quote followed by a HEEx expression block (e.g. foo\" injected={EXPR} bar=\"), which causes EXPR to be treated as an inline Elixir expression. The resulting template is compiled via EEx.compile_string/2 and executed via Code.eval_quoted_with_env/3 with full Kernel imports and no sandbox, giving the attacker arbitrary code execution on the server.\n\nThis issue affects phoenix_storybook from 0.5.0 before 1.1.0.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cna": 9.5
  },
  "repos": [
    {
      "repo": "HORKimhab/CVE-2026-8467",
      "url": "https://github.com/HORKimhab/CVE-2026-8467",
      "created_at": "2026-08-27T02:16:55Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-07-12T07:48:30Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "phenixdigital",
        "product": "phoenix_storybook",
        "ranges": [
          "\u003e= 0.5.0, \u003c 1.1.0"
        ],
        "fixed_in": [
          "1.1.0"
        ]
      },
      {
        "vendor": "phenixdigital",
        "product": "phoenix_storybook",
        "ranges": [
          "\u003e= e35379dfe2ef1a71b141899e36f431017c55265d, \u003c 56ab8464d4375fa52db806148a06cce126ad481d"
        ],
        "fixed_in": [
          "56ab8464d4375fa52db806148a06cce126ad481d"
        ]
      }
    ],
    "upgrade": [
      "Upgrade phoenix_storybook to 1.1.0 or later.",
      "Upgrade phoenix_storybook to 56ab8464d4375fa52db806148a06cce126ad481d or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/phenixdigital/phoenix_storybook/security/advisories/GHSA-55hg-8qxv-qj4p"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/phenixdigital/phoenix_storybook/commit/56ab8464d4375fa52db806148a06cce126ad481d"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
