Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 72%

CVE-2026-47099: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in storybookjs telejson

0
Low
VulnerabilityCVE-2026-47099cvecve-2026-47099
Published: 05/20/2026 (05/20/2026, 18:00:44 UTC)
Source: CVE Database V5
Vendor/Project: storybookjs
Product: telejson

Description

TeleJSON prior to 6.0.0 contains a DOM-based cross-site scripting vulnerability in the parse() function that allows attackers to execute arbitrary JavaScript by delivering a crafted JSON payload containing a malicious _constructor-name_ property value. The custom reviver passes the constructor name directly to new Function() without sanitization when recreating object prototypes, enabling attackers to inject arbitrary JavaScript through vectors such as postMessage in cross-frame communication contexts to achieve script execution within the application.

CVSS v4.0

Score 2.1low

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Affected software

telejson
pkg:npm/telejson
Affected versions
<6.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 10:03:32 UTC

Technical Analysis

CVE-2026-47099 describes a DOM-based XSS vulnerability in storybookjs's TeleJSON library before version 6.0.0. The parse() function's custom reviver passes the constructor name directly to new Function() without sanitization, enabling attackers to inject arbitrary JavaScript code. Attackers can exploit this by sending a crafted JSON payload containing a malicious _constructor-name_ property, which is then executed in the application context, for example through postMessage in cross-frame communication scenarios.

Potential Impact

An attacker can execute arbitrary JavaScript code within the context of the vulnerable application by exploiting this XSS vulnerability. This could lead to unauthorized script execution affecting the confidentiality and integrity of the application environment. However, the CVSS score of 2.1 and the low severity rating indicate that exploitation requires user interaction and the impact is limited in scope.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch information is currently available. Until a patch is released, avoid parsing untrusted JSON payloads with TeleJSON's parse() function, especially in contexts involving cross-frame communication such as postMessage. Monitor vendor channels for updates and apply official fixes once available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-05-18T19:22:26.747Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a0e0cd2ba1db473629e7991

Added to database: 05/20/2026, 19:34:42 UTC

Last enriched: 07/15/2026, 10:03:32 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 79

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses