All vulnerabilities

npm

CVE-2026-110802

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

Severity
Medium 6.1
Published
10 Nov 2026
Last changed
10 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
8.5.8
Exploit chance
0.3% in the next 30 daysHigher than 25% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Cross-site scripting (CWE-79)CWE-829
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Also known as
GHSA-752m-7p75-49gf
Sources
OSV.dev and GitHub

Description

Altair 8.5.7 accepts plugin configuration directly from the iframe-sandbox query string.

When plugin_sandbox_opts contains type: "scripts" and an attacker-controlled URL in scriptUrls, the sandbox page creates a classic element and loads the supplied script.

In the intended plugin flow, this page runs inside an without allow-same-origin`, giving plugin code an opaque origin. However, if a victim opens the crafted sandbox URL directly, that iframe isolation is absent and the attacker-controlled script executes in the origin serving Altair, resulting in DOM-based cross-site scripting (XSS) / arbitrary JavaScript execution in the Altair hosting origin.

Exploitation requires the victim to open a crafted URL.

The sandbox reads its configuration directly from window.location.search.

In packages/altair-iframe-sandbox/src/main.ts:

handlePluginSandbox() then parses plugin_sandbox_opts:

The relevant validation only checks the plugin type:

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
altair-express-middlewarenpm · osv:npm:altair-express-middleware
  • From 7.2.4 before 8.5.8
altair-fastify-pluginnpm · osv:npm:altair-fastify-plugin
  • From 7.2.4 before 8.5.8
altair-koa-middlewarenpm · osv:npm:altair-koa-middleware
  • From 7.2.4 before 8.5.8
altair-staticnpm · osv:npm:altair-static
  • From 7.2.4 before 8.5.8

About altair-express-middleware

Weekly downloads (npm)
52,967npm, 24 Nov 2026

This is the only vulnerability in altair-express-middleware in our list.

About altair-fastify-plugin

Weekly downloads (npm)
4,775npm, 24 Nov 2026

This is the only vulnerability in altair-fastify-plugin in our list.

About altair-koa-middleware

Weekly downloads (npm)
528npm, 24 Nov 2026

This is the only vulnerability in altair-koa-middleware in our list.

References