Skip to content

CVE-2026-110802 Altair: DOM-based XSS via attacker-controlled script URLs in the iframe sandbox

MediumCVSS 6.1 EPSS 0.39%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

9 packages: 4 fixed.

PackageAffectedFixed inStatus
npm altair-express-middleware(npm) >= 7.2.4, < 8.5.8 8.5.8 Fixed
npm altair-fastify-plugin(npm) >= 7.2.4, < 8.5.8 8.5.8 Fixed
npm altair-koa-middleware(npm) >= 7.2.4, < 8.5.8 8.5.8 Fixed
npm altair-static(npm) >= 7.2.4, < 8.5.8 8.5.8 Fixed
altair-graphql altair = >= 7.2.4, < 8.5.8 No fix listed Versions listed
altair-graphql altair-express-middleware = >= 7.2.4, < 8.5.8 No fix listed Versions listed
altair-graphql altair-fastify-plugin = >= 7.2.4, < 8.5.8 No fix listed Versions listed
altair-graphql altair-koa-middleware = >= 7.2.4, < 8.5.8 No fix listed Versions listed
altair-graphql altair-static = >= 7.2.4, < 8.5.8 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
altair-graphql altair = >= 7.2.4, < 8.5.8 No fix listed
altair-graphql altair-express-middleware = >= 7.2.4, < 8.5.8 No fix listed
altair-graphql altair-fastify-plugin = >= 7.2.4, < 8.5.8 No fix listed
altair-graphql altair-koa-middleware = >= 7.2.4, < 8.5.8 No fix listed
altair-graphql altair-static = >= 7.2.4, < 8.5.8 No fix listed
npm altair-static(npm) >= 7.2.4, < 8.5.8 8.5.8
npm altair-express-middleware(npm) >= 7.2.4, < 8.5.8 8.5.8
npm altair-koa-middleware(npm) >= 7.2.4, < 8.5.8 8.5.8
npm altair-fastify-plugin(npm) >= 7.2.4, < 8.5.8 8.5.8

References