CVE-2026-137668

ONNXMLTools producer metadata 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.

Exploitation evidence source

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

Model producer names and versions were inserted into the generated HTML heading without HTML escaping.

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