Skip to main content
VulnerabilityPublished Updated

CVE-2026-27148: storybookjs storybook · Injection

Affects storybookjs storybookSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.9 High · fixed in 10.2.10 : patch storybookjs storybook soon.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
8.9High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 10.2.10, 9.1.19, 8.6.17 +1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade storybook to 10.2.10, 9.1.19, 8.6.17 or 7.6.23; storybook to 7.6.23.

Affected software

ProductAffectedFixed in
storybookjsstorybookAffected
  • >=10.0.0 <10.2.10
Fixed in
  • 10.2.10
storybookjsstorybookAffected
  • >=9.0.0 <9.1.19
Fixed in
  • 9.1.19
storybookjsstorybookAffected
  • >=8.1.0 <8.6.17
Fixed in
  • 8.6.17
storybookjsstorybookAffected
  • <7.6.23
Fixed in
  • 7.6.23
npmstorybookpkg:npm/storybookOther threatsAffected
  • <7.6.23
Fixed in
  • 7.6.23

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Fixed versions 7.6.23, 8.6.17, 9.1.19, and 10.2.10 of Storybook contain patches addressing this vulnerability. Users should upgrade to these or later versions to remediate the issue. If upgrading is not immediately possible, avoid exposing the Storybook dev server publicly and be cautious about visiting untrusted websites while the dev server is running locally. Patch status is confirmed by vendor advisories.

Description

Storybook is a frontend workshop for building user interface components and pages in isolation. Prior to versions 7.6.23, 8.6.17, 9.1.19, and 10.2.10, the WebSocket functionality in Storybook's dev server, used to create and update stories, is vulnerable to WebSocket hijacking. This vulnerability only affects the Storybook dev server; production builds are not impacted. Exploitation requires a developer to visit a malicious website while their local Storybook dev server is running. Because the WebSocket connection does not validate the origin of incoming connections, a malicious site can silently send WebSocket messages to the local instance without any further user interaction. If the Storybook dev server is intentionally exposed publicly (e.g. for design reviews or stakeholder demos) the risk is higher, as no malicious site visit is required. Any unauthenticated attacker can send WebSocket messages to it directly. The vulnerability affects the WebSocket message handlers for creating and saving stories. Both are vulnerable to injection via unsanitized input in the componentFilePath field, which can be exploited to achieve persistent XSS or Remote Code Execution (RCE). Versions 7.6.23, 8.6.17, 9.1.19, and 10.2.10 contain a fix for the issue.

References

Community reviews

Loading reviews…