← Back to CVE search

CVE-2026-47099

TeleJSON

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 6.1EPSS 0.358%Risk 0.63
View source
Published
2026-05-20 20:16:41
Affected versions
<6.0.0
Type
Package
Last modified
2026-07-23 12:10:00
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N