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…

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: Wed May 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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/20/2026, 20:03:52 UTC

Technical Analysis

TeleJSON versions before 6.0.0 contain a DOM-based XSS vulnerability in the parse() function. The vulnerability occurs because the custom reviver function uses the constructor name from JSON input directly in new Function() without sanitization. This allows attackers to inject arbitrary JavaScript code when the library recreates object prototypes from JSON payloads. Attackers can exploit this via cross-frame communication mechanisms such as postMessage to execute scripts within the application context. The vulnerability has a CVSS 4.0 score of 2.1, reflecting low severity due to required user interaction and limited impact scope.

Potential Impact

Successful exploitation allows execution of arbitrary JavaScript within the context of the affected application, potentially leading to script injection attacks. However, the low CVSS score and requirement for user interaction reduce the overall risk. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid processing 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 patches promptly 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: 5/20/2026, 7:34:42 PM

Last enriched: 5/20/2026, 8:03:52 PM

Last updated: 5/21/2026, 6:30:50 AM

Views: 6

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