Medium severity6.1GHSA Advisory· Published May 20, 2026· Updated May 21, 2026
CVE-2026-47099
CVE-2026-47099
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 Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
telejsonnpm | < 6.0.0 | 6.0.0 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-ccgf-5rwj-j3hvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-47099ghsaADVISORY
- github.com/Niccolo10/Security-Advisories/blob/main/CVE-2026-47099/cve-2026-47099.mdnvdWEB
- github.com/storybookjs/telejson/security/advisories/GHSA-ccgf-5rwj-j3hvnvdWEB
- www.vulncheck.com/advisories/telejson-dom-based-xss-via-parse-functionnvdWEB
News mentions
0No linked articles in our index yet.