Altair: DOM-based XSS via attacker-controlled script URLs in the iframe sandbox
- CVE-2026-110802
- GHSA-752m-7p75-49gf
- EUVD-2026-117794
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.
Text from the CVE.org record.
Recommendation
altair-express-middleware
- If you run a version from 7.2.4 to before 8.5.8update to 8.5.8 or laterMajor version change: expect breaking changesaltair-express-middleware 8.5.8 on its registry (opens in a new tab)
altair-fastify-plugin
- If you run a version from 7.2.4 to before 8.5.8update to 8.5.8 or laterMajor version change: expect breaking changesaltair-fastify-plugin 8.5.8 on its registry (opens in a new tab)
altair-koa-middleware
- If you run a version from 7.2.4 to before 8.5.8update to 8.5.8 or laterMajor version change: expect breaking changesaltair-koa-middleware 8.5.8 on its registry (opens in a new tab)
altair-static
- If you run a version from 7.2.4 to before 8.5.8update to 8.5.8 or laterMajor version change: expect breaking changesaltair-static 8.5.8 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
altair-graphql altair
Affected versions Fixed in >= 7.2.4, < 8.5.8 none stated altair-graphql altair-express-middleware
Affected versions Fixed in >= 7.2.4, < 8.5.8 none stated altair-graphql altair-fastify-plugin
Affected versions Fixed in >= 7.2.4, < 8.5.8 none stated altair-graphql altair-koa-middleware
Affected versions Fixed in >= 7.2.4, < 8.5.8 none stated altair-graphql altair-static
Affected versions Fixed in >= 7.2.4, < 8.5.8 none stated altair-express-middlewarenpm
Affected versions Fixed in from 7.2.4 to before 8.5.8 8.5.8 altair-fastify-pluginnpm
Affected versions Fixed in from 7.2.4 to before 8.5.8 8.5.8 altair-koa-middlewarenpm
Affected versions Fixed in from 7.2.4 to before 8.5.8 8.5.8 altair-staticnpm
Affected versions Fixed in from 7.2.4 to before 8.5.8 8.5.8
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.