What’s Vulnerable › Vulnerabilities
CVE-2026-47099: TeleJSON < 6.0.0 DOM-based XSS via parse() Function
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-20 · updated 2026-10-08
- Weakness: CWE-79
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.
Affected products
- storybookjs telejson: before 6.0.0 — fixed in 6.0.0
How to fix
Upgrade to a fixed version: storybookjs telejson 6.0.0. Check the vendor advisory for mitigations.
References
- https://github.com/Niccolo10/Security-Advisories/blob/main/CVE-2026-47099/cve-2026-47099.md
- https://github.com/storybookjs/telejson/security/advisories/GHSA-ccgf-5rwj-j3hv
- https://www.vulncheck.com/advisories/telejson-dom-based-xss-via-parse-function
Get alerted when CVE-2026-47099 or the next vulnerability affects your stack