Cloudanix VulnDB

CVE-2026-47099

Medium · 6.1

CVSS

6.1

EPSS

0.4%

Published

May 20, 2026

CISA due date

—

The record

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 packages

Ecosystem Package Introduced Fixed
npm telejson 0 6.0.0

Related vulnerabilities