Vulnerability 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 Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/Niccolo10/Security-Advisories/blob/main/CVE-2026-47099/cve-20
- https://github.com/storybookjs/telejson/security/advisories/GHSA-ccgf-5rwj-j3hv
- https://www.vulncheck.com/advisories/telejson-dom-based-xss-via-parse-function
FAQ
What is CVE-2026-47099?
CVE-2026-47099 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 conta...
How severe is CVE-2026-47099?
CVE-2026-47099 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-47099?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.