Skip to main content

NextScan CVE-2026-126798

| EUVDEUVD-2026-124013 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-11-11 VulnCheck GHSA-9pxg-37r7-g742
2.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Host crafted form on crawlable site
  2. Delivery
    NextScan crawls and stores form body as Asset_URL.data
  3. Exploit
    Admin opens URL asset detail dialog
  4. Execution
    innerHTML renders payload, executes JavaScript
  5. Impact
    Exfiltrate localStorage token and hijack admin session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a chain of specific prerequisites, not default-config remote access: (1) the attacker must host a crafted form on a site that is within the NextScan instance's configured crawl scope, so the malicious form request body is captured and stored as Asset_URL.data; (2) a ns-admin user - ideally an administrator - must subsequently open the URL asset detail dialog that renders that stored data via innerHTML without encoding; and (3) the deployment must store session access tokens in browser localStorage for the token-theft payoff to apply. Limiting factors: the attacker's content must be crawled (not attacker-controlled timing), active victim interaction (viewing asset details) is required, and only versions 1.1.0 through 1.2.0 are affected. Exploitation status: no public exploit identified at time of analysis, though a public GitHub issue reference exists.

Impact

The signals here conflict and must be read together. The vendor CVSS 4.0 score is only 2.1 (Low), which it reaches by scoring the browser compromise as a subsequent-system effect (VC:N/VI:N/VA:N, SC:L/SI:L) and by crediting AT:P (an attack requirement) and UI:A (active user interaction). The vuln.today decision label is 'monitor,' there is no CISA KEV listing, and no EPSS probability was supplied, so widespread automated exploitation is not indicated. However, the description is explicit that successful exploitation steals localStorage access tokens and hijacks sessions 'including administrators' - i.e. full admin account takeover of the ns-admin console. That impact is materially understated by a 2.1 score; treating admin-session theft as merely a Low subsequent-system effect is the reason the number looks benign. So this is best read as a low-probability, non-default-trigger issue with a high-consequence payoff: not an emergency, but not the trivial bug the 2.1 implies either. Key missing/weak data: no EPSS score was provided (cannot gauge exploitation likelihood quantitatively), and no PoC is confirmed as working. The attack also has a meaningful precondition the raw score folds into AT:P - the malicious form must fall within the target's crawl scope - which genuinely limits opportunistic use.

Exploit ScenarioDerived

An attacker stands up a website containing a crafted HTML form whose request body embeds JavaScript, then ensures that site is within the scope a NextScan operator crawls. NextScan stores the malicious form body as Asset_URL.data, and when an operator (or administrator) later opens that URL's asset detail dialog in ns-admin, the payload is rendered via innerHTML and executes, exfiltrating the admin's localStorage access token to the attacker. No confirmed working exploit is published, though a public GitHub issue reference exists.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 11, 2026

Stored cross-site scripting in NextScan 1.1.0 through 1.2.0 allows an attacker who gets a crafted HTML form captured by the scanner's crawler to persist JavaScript that executes inside the ns-admin URL asset detail dialog whenever a user opens that asset. Because the injected script runs in the admin UI's origin and can read access tokens kept in browser localStorage, successful execution can hijack the session of any viewer, including administrators. Exploitation is not default-config remote access: it requires the malicious page to fall inside the instance's configured crawl scope, a victim to actively open the affected asset detail view, and a deployment that stores session tokens in localStorage; no public exploit was identified at time of analysis, though a public GitHub issue reference exists and no fixed release has been published.

RemediationAI

No vendor-released patch was identified at time of analysis, and none of the references (GitHub issue 49, the Docker Hub ns-admin image, the vul.yulun.ac.cn write-up, the VulnCheck advisory) names a fixed version, so track https://github.com/tongcheng-security-team/NextScan/issues/49 for a corrected build and treat any ns-admin image pulled from lysec/ns-admin as unpatched until a fix is published. Until then, compensating controls follow from the described mechanism: narrow the crawler's configured scope so only trusted, internally controlled sites are crawled, which prevents attacker-hosted form bodies from ever being stored as Asset_URL.data at the cost of reduced scan coverage; keep ns-admin reachable only from trusted administrative networks, which limits who can be induced to open the asset detail dialog but does not remove the flaw; and move session tokens out of browser localStorage into non-script-readable storage such as HttpOnly cookies, which removes the token-theft payoff of a successful injection but requires an application-level authentication change on the operator's side. Because exploitation requires a victim to open the affected asset detail view, restrict review of assets sourced from untrusted crawl targets to disposable or low-privilege ns-admin accounts.

Affected VersionsENISA

NextScan 1.1.0 ≤1.2.0

Affected Packages

euvd nextscan no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-79 (improper neutralization of input during web page generation), specifically the stored variant. NextScan is a web asset discovery/scanner, and its administrative front end (ns-admin, distributed as the Docker image lysec/ns-admin, CPE cpe:2.3:a:tongcheng-security-team:nextscan) crawls target sites and records observed form submissions. The captured request body is persisted as Asset_URL.data and later interpolated into the asset detail dialog's DOM through innerHTML rather than being encoded or assigned as text. Any markup an attacker places in a crawled form body is therefore stored and later parsed as live HTML/JavaScript in the ns-admin origin. The impactful payload class is session-token theft: tokens held in localStorage are readable by same-origin script, so a single execution in an administrator's browser yields persistent account takeover. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:A, with only subsequent-system low confidentiality/integrity impact, base score 2.1) weights the attack's dependence on a specific precondition and on the victim's active interaction heavily; the independent CVSS 3.1 assessment instead scores it AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N, reflecting that the payload crosses into the admin UI's security scope with high confidentiality and integrity impact once it fires. Sources do not describe the exact rendering code path or any additional trigger mechanics beyond the innerHTML insertion of Asset_URL.data.

Know when Nextscan gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
vuln.today AI 8.0 HIGH

AC:H because the attacker's content must be crawled into scope; PR:N as the attacker is unauthenticated; UI:R since an operator must view asset details; S:C and C:H/I:H reflect admin-token theft enabling full session takeover.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Low
niche open-source security scanner (tongcheng-security-team), limited Docker-based deployment
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy