Altair: DOM-based XSS via attacker-controlled script URLs in the iframe sandbox
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| altair-graphql | altair | affected |
|
||||||
| altair-graphql | altair-express-middleware | affected |
|
||||||
| altair-graphql | altair-fastify-plugin | affected |
|
||||||
| altair-graphql | altair-koa-middleware | affected |
|
||||||
| altair-graphql | altair-static | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Altair-graphql | Altair-express-middleware |
|
||||||||
| Altair-graphql | Altair-fastify-plugin |
|
||||||||
| Altair-graphql | Altair-koa-middleware |
|
||||||||
| Altairgraphql | Altair |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-752m-7p75-49gf | Altair: DOM-based XSS via attacker-controlled script URLs in the iframe sandbox |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.221% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Altair-graphql
Altair-graphql altair-express-middleware Altair-graphql altair-fastify-plugin Altair-graphql altair-koa-middleware Altairgraphql Altairgraphql altair |
|
| Vendors & Products |
Altair-graphql
Altair-graphql altair-express-middleware Altair-graphql altair-fastify-plugin Altair-graphql altair-koa-middleware Altairgraphql Altairgraphql altair |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Altair is a GraphQL client for all platforms. From 7.2.4 until 8.5.8, packages/altair-iframe-sandbox/src/main.ts reads plugin_sandbox_opts from the iframe-sandbox query string and passes attacker-controlled scriptUrls to injectScript() in packages/altair-core/src/utils/inject.ts, which creates script elements in the page. The intended parent iframe flow places the page in an iframe with sandbox allow-scripts and without allow-same-origin, but direct navigation to a crafted iframe-sandbox URL omits that isolation and executes the supplied script in the origin serving Altair. Exploitation requires a victim to open the crafted URL, and the resulting script can access script-readable storage and make same-origin requests according to the deployment's authentication and cookie controls. This issue is fixed in version 8.5.8. | |
| Title | Altair: DOM-based XSS via attacker-controlled script URLs in the iframe sandbox | |
| Weaknesses | CWE-79 CWE-829 |
|
| References |
|
|
| Metrics |
cvssV3_1
|