CVE-2026-110802

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

Published Nov 5, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability in Altair versions 7.2.4 through 8.5.8 allows an attacker to supply a script URL via the iframe‑sandbox query string. The application then injects the script into the page, causing a DOM‑based XSS. Because the injected script runs in the same origin as the Altair host, it can read cookies, local storage, and perform authenticated requests, potentially exposing sensitive data or hijacking user sessions.

Affected Systems

Altair GraphQL client and its variants – altair, altair-express-middleware, altair-fastify-plugin, altair-koa-middleware, altair-static – across all platforms, affected only when the vulnerable 7.2.4 through 8.5.8 releases are used. The issue is resolved in v8.5.8 and later.

Risk and Exploitability

With a CVSS score of 6.1, this moderate‑severity flaw has no EPSS score available and is not listed in CISA KEV. Exploitation requires a victim to open a maliciously crafted iframe‑sandbox URL; the attacker can then run code that has the same origin as the Altair server, enabling access to session cookies and other data controlled by the deployment. The attack vector is user‑initiated via a crafted link and does not require additional privileges beyond the victim’s browser.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Altair to version 8.5.8 or later to remove the vulnerable script injection path
  • Disable or restrict the use of iframe‑sandbox URLs that allow script execution, or enforce strict sandbox attributes
  • Implement internal validation or a whitelist for the scriptUrls parameter before injection, and remove the iframe‑sandbox feature from any deployment that does not require it

Generated by OpenCVE AI on November 5, 2026 at 21:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-752m-7p75-49gf Altair: DOM-based XSS via attacker-controlled script URLs in the iframe sandbox
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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
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

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 10, 2026, 4:18 AM
Reserved
Oct 14, 2026, 5:40 PM
Status
Deferred
Published
Nov 5, 2026, 9:18 PM
Modified
Nov 12, 2026, 10:18 PM
Severity
Moderate
Public date
Nov 5, 2026, 8:41 PM