TeleJSON < 6.0.0 DOM-based XSS via parse() Function
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| storybookjs | telejson | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Storybookjs | Telejson |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-ccgf-5rwj-j3hv | TeleJSON: DOM XSS via unsanitised constructor name in `new Function()` |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.358% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Storybookjs
Storybookjs telejson |
|
| Vendors & Products |
Storybookjs
Storybookjs telejson |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | TeleJSON < 6.0.0 DOM-based XSS via parse() Function | |
| Weaknesses | CWE-79 | |
| References |
| |
| Metrics |
cvssV3_1
|