CVE-2026-126798 NextScan 1.1.0 through 1.2.0 Stored XSS via URL Asset Detail View

Low 2.1 Published Updated

Attackers can plant crafted crawled forms that run JavaScript when NextScan admins view asset details, hijacking sessions including administrators.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Harmful if only installed
No
Needs a specific call
No
Fix
None listed

What is CVE-2026-126798?

CVE-2026-126798 is a low-severity cross-site scripting vulnerability in tongcheng-security-team NextScan, published on 11 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

NextScan 1.1.0 through 1.2.0 contains a stored cross-site scripting vulnerability in the ns-admin URL asset detail dialog that renders crawled form request bodies (Asset_URL.data) via innerHTML without encoding. Attackers can host crafted forms on crawled sites to store JavaScript that executes when users view asset details, stealing localStorage access tokens to hijack sessions, including administrators.

Weakness: CWE-79

Which versions are affected by CVE-2026-126798?

An affected version is exposed as installed. No special setting or call is needed.

How do I fix CVE-2026-126798?

No fix has been published for CVE-2026-126798 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-126798 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-126798 exists.

Sources

Also known as GHSA-9pxg-37r7-g742.

Is CVE-2026-126798 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free