Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-110802 EUVD-2026-117794GHSA-752m-7p75-49gf

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

Published Nov 5, 2026 · Updated Nov 10, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
altair-graphql altair >= 7.2.4, < 8.5.8 —
altair-graphql altair-express-middleware >= 7.2.4, < 8.5.8 —
altair-graphql altair-fastify-plugin >= 7.2.4, < 8.5.8 —
altair-graphql altair-koa-middleware >= 7.2.4, < 8.5.8 —
altair-graphql altair-static >= 7.2.4, < 8.5.8 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm altair-express-middleware >= 7.2.4, < 8.5.8 8.5.8 GHSA-752m-7p75-49gf
npm altair-fastify-plugin >= 7.2.4, < 8.5.8 8.5.8 GHSA-752m-7p75-49gf
npm altair-koa-middleware >= 7.2.4, < 8.5.8 8.5.8 GHSA-752m-7p75-49gf
npm altair-static >= 7.2.4, < 8.5.8 8.5.8 GHSA-752m-7p75-49gf

References