CVE Enrichment

CVSS
9.5 CRITICAL
EPSS
2.11%
EPSS Percentile
81.70%
CISA KEV
Not listed

Description

Code Injection vulnerability in phenixdigital phoenix_storybook allows unauthenticated remote code execution via unsanitized attribute value interpolation in HEEx template generation. The 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="<val>" 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. This issue affects phoenix_storybook from 0.5.0 before 1.1.0.

Technical Details

CVSS Version
4.0
CNA / NVD Source
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Published
20-May-2026 21:17
Last Modified
23-Jul-2026 19:10
EPSS Date
2026-10-27
CWE
CWE-94

CVSS 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 / E:X / CR:X / IR:X / AR:X / MAV:X / MAC:X / MAT:X / MPR:X / MUI:X / MVC:X / MVI:X / MVA:X / MSC:X / MSI:X / MSA:X / S:X / AU:X / R:X / V:X / RE:X / U:X

References

Last enrichment sync: 28-Oct-2026 06:55
Sources: NVD · FIRST EPSS · CISA KEV
Latest successful provider update; providers refresh independently.

Reported Context (2)

CVE (4)

Malware (3)

People (3)

Threat Actors (6)

MITRE ATT&CK (3)

Vendors (7)

Products (21)

VIEW MORE

Tools (1)

Industries (7)

Countries (9)

Note: Related entities, including threat actors, malware, CVEs, MITRE ATT&CK techniques, vendors, products, tools, countries, and industries, are shown when they appear in the same reporting. Their presence does not necessarily mean they were targeted, compromised, vulnerable, responsible for the activity, or directly involved in the incident.