CVE-2026-47099CWE-79cross-site-scripting

CVE-2026-47099

Medium · published May 21, 2026

CVSS v3.1
6.1
EPSS
0%
Percentile
30.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.1 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00380 · 30.8th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-05-21T00:16Z
References (3)
EPSS history
Timeline
  • 20 MAY 18:00Z
    TeleJSON < 6.0.0 DOM-based XSS via parse() Function
    cvelistv5