CVE-2026-47099
LOW 2.1CVSS 4.0TeleJSON: DOM XSS via unsanitised constructor name in `new Function()`
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.
- Published
- 20 May 2026
- Last modified
- 8 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-ccgf-5rwj-j3hv
- Sources
- NVDJSONOSV GHSA-ccgf-5rwj-j3hvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | LOW 2.1 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N | |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | telejson | < 6.0.0 | 6.0.0 |
References
- https://github.com/Niccolo10/Security-Advisories/blob/main/CVE-2026-47099/cve-2026-47099.md · WEB
- https://github.com/storybookjs/telejson/security/advisories/GHSA-ccgf-5rwj-j3hv · WEB
- https://www.vulncheck.com/advisories/telejson-dom-based-xss-via-parse-function · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-47099 · ADVISORY
- https://github.com/storybookjs/telejson · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 20 May 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Apr 2026)