DOM-Based Cross-Site Scripting in TeleJSON Affects Web Applications
CVE-2026-47099
2.1LOW
What is CVE-2026-47099?
TeleJSON versions prior to 6.0.0 are susceptible to a DOM-based cross-site scripting vulnerability, specifically within the parse() function. This flaw allows attackers to craft malicious JSON payloads that exploit the unvalidated constructor-name property. When the application utilizes this property, it directly passes input to new Function() without any sanitization, enabling the execution of arbitrary JavaScript. This vulnerability can be leveraged through various manipulation methods, including postMessage in cross-frame communication contexts, posing significant risks to web applications relying on TeleJSON for JSON parsing.
Affected Version(s)
telejson 0
