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.
Severity (CVSS)
| Base score | 6.1 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-829 — CWE-829: Inclusion of Functionality from Untrusted Control Sphere
Affected products
| Vendor | Product | Versions |
|---|---|---|
| altair-graphql | altair | >= 7.2.4, < 8.5.8 [affected] |
| altair-graphql | altair-express-middleware | >= 7.2.4, < 8.5.8 [affected] |
| altair-graphql | altair-fastify-plugin | >= 7.2.4, < 8.5.8 [affected] |
| altair-graphql | altair-koa-middleware | >= 7.2.4, < 8.5.8 [affected] |
| altair-graphql | altair-static | >= 7.2.4, < 8.5.8 [affected] |
References
- https://github.com/altair-graphql/altair/security/advisories/GHSA-752m-7p75-49gf (x_refsource_CONFIRM)
- https://github.com/altair-graphql/altair/commit/53a19183ce11ca147bb990c355e14ecb1dd7cd3e (x_refsource_MISC)
- https://github.com/altair-graphql/altair/commit/bdf422bdaaaf3186170ba7f22e22c259072133d9 (x_refsource_MISC)
- https://github.com/altair-graphql/altair/releases/tag/v8.5.8 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 06 Nov 2026 08:03 UTC.