---
id: CVE-2026-47099
title: >-
  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_ …
summary: >-
  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_ …
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: storybookjs
product: telejson
affected:
  - telejson < 6.0.0
published: '2026-05-20'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T16:17:16.807'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-47099'
references:
  - url: >-
      https://github.com/Niccolo10/Security-Advisories/blob/main/CVE-2026-47099/cve-2026-47099.md
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/storybookjs/telejson/security/advisories/GHSA-ccgf-5rwj-j3hv
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/telejson-dom-based-xss-via-parse-function
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-05-20T19:28:02.710892Z'
epss: 0.0038
epssPercentile: 0.29845
ingestedAt: '2026-10-08T16:52:14.682Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
