2.1
Low
CVE-2026-47099 TeleJSON < 6.0.0 DOM-based XSS via parse() Function
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 4.0 detail
Vector CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NExploitable remotely over the network, without an account and if a user takes an action; with no direct impact on the vulnerable system.
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- Interaction
- Active
- Confidentiality
- None
- Integrity
- None
- Availability
- None
- Confidentiality of other systems
- Low
- Integrity of other systems
- Low
- Availability of other systems
- None
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| telejson 6.0 | earliest → < 6.0.0 | 6.0.0 |