# CVE-2026-47099: TeleJSON < 6.0.0 DOM-based XSS via parse() Function

- Severity: Low 2.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-04-02T23:21:23.000Z
- Modified: 2026-11-08T14:04:01.911Z
- Also known as: GHSA-ccgf-5rwj-j3hv
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- storybookjs telejson: before 6.0.0
- telejson (npm): before 6.0.0

## Every score

- VulnCheck: CVSS:4.0 2.1 Low `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`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Low `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Low `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`

## References

- <https://github.com/storybookjs/telejson/security/advisories/GHSA-ccgf-5rwj-j3hv> (vendor-advisory, web)
- <https://github.com/Niccolo10/Security-Advisories/blob/main/CVE-2026-47099/cve-2026-47099.md> (technical-description, web)
- <https://www.vulncheck.com/advisories/telejson-dom-based-xss-via-parse-function> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-47099> (advisory)
- <https://github.com/storybookjs/telejson> (package)

## Sources

- CVE List: [CVE-2026-47099](https://www.cve.org/CVERecord?id=CVE-2026-47099), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-ccgf-5rwj-j3hv](https://github.com/advisories/GHSA-ccgf-5rwj-j3hv), CC-BY-4.0, modified 2026-06-08
- NVD: [CVE-2026-47099](https://nvd.nist.gov/vuln/detail/CVE-2026-47099), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2026-47099 · Whole record: https://cve.day/CVE-2026-47099.json · Rebuilt by cve.day 2026-11-25T22:59:22.066Z
