Skip to content
Heist/ feed
Medium

TeleJSON < 6.0.0 DOM-based XSS via parse() Function

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-47099

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-47099

telejson

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/storybookjs/telejson",
    "vendor": "storybookjs",
    "product": "telejson",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "6.0.0",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:npm/telejson",
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-47099

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#12727 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement