CVE-2026-137667
ONNXMLTools graph names could execute script in a model visualization
ONNX · ONNXMLTools model visualization
First documented disclosure · Review checkpoint
Summary
An otherwise valid ONNX model could produce an active-script visualization page.
Severity and exploitation evidence
Medium · 5.3/10 · CVSS 4.0. Severity source.
Exploitation not established: The reviewed public sources establish a disclosed weakness or controlled demonstration, not malicious exploitation against users. No exploit or product was executed in this review.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
Graph input/output names were concatenated into inline JavaScript without string encoding.
Conditions required
A user visualizes an attacker-supplied model and opens the generated HTML; the helper normally opens it automatically.
Potential impact
Script execution in the visualization origin and falsification of the displayed model. Hosted viewers may expose more origin data than a local file view.
Affected versions and configurations
Reporter confirmed 1.16.0 and main commit cf608be4 (in-tree 1.17.0); CNA lists releases through 1.16.0. Earliest affected version was not independently verified.
Fix and mitigation status
Unknown. PR817 proposes encoding both contexts but remains open and unmerged.
Practical next steps
Avoid visualizing untrusted models in a trusted browser origin; apply and validate an appropriate encoding correction before enabling that workflow.
Operating lesson
Passing model-format validation does not make model strings safe for HTML or JavaScript.
Evidence and limits
The October 29 issue predates the November 26 CNA. PR817 covers both graph-name and producer-metadata sinks; they are related CVEs, not separate victim incidents. Public demonstrations were read but attachments and payloads were not executed. Severity is attributed to VulDB CNA CVSS 4.0.
Sources
- Original ONNXMLTools issue 815
Primary source ·
- Proposed encoding correction, still open
Primary source ·
- CVE Program: issuing CNA identity and scoring
Primary source ·