Read the docs

Cross-site scripting in ONNX ONNXMLTools visualize_model

Priority LOW 24CWE-74Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
None · Low · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-80.

Summary

ONNX ONNXMLTools up to 1.16.0 contains a flaw in the visualize_model function of onnxmltools/utils/visualize.py. Input in the producer_name argument is not neutralized before it is placed in the output, which causes cross-site scripting (CWE-80). A remote attacker can carry out the attack without authentication, but a user must interact with the affected output. A public exploit has been published.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

A flaw has been found in ONNX ONNXMLTools up to 1.16.0. This impacts the function visualize_model of the file onnxmltools/utils/visualize.py. This manipulation of the argument producer_name causes basic cross site scripting. The attack is possible to be carried out remotely. The exploit has been published and may be used. The pull request to fix this issue awaits acceptance.

Why it matters now

EPSS 0.00359 21st percentileScored 2026-11-30
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
onnxONNXMLTools1.0; 1.1; 1.2; 1.3; 1.4; 1.5; 1.6; 1.7; 1.8; 1.9; 1.10; 1.11; 1.12; 1.13; 1.14; 1.15; 1.16.0—No fix listedCNA
  • ONNXMLTools Vendoronnx Affected 1.0; 1.1; 1.2; 1.3; 1.4; 1.5; 1.6; 1.7; 1.8; 1.9; 1.10; 1.11; 1.12; 1.13; 1.14; 1.15; 1.16.0 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:onnx:onnxmltools:*:*:*:*:*:*:*:*——onnx
  • cpe:2.3:a:onnx:onnxmltools:*:*:*:*:*:*:*:* Versions — — ·onnx

Remediation

The sources list no fixed version for ONNX ONNXMLTools. A pull request to fix this issue is awaiting acceptance.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Timeline

  1. 2026-11-26 Threatist record created from CVE-2026-137668
  2. 2026-11-27 Alias added: GHSA-w87m-77wg-pmhq

References

  • TI-2026-22763 ONNX Untrusted Model Repository Warnings Suppressed by silent=True in onnx.hub.load() — Silent Supply-Chain Attack CVSS 3.1CRITICAL 9.1
  • TI-2026-21896 ONNX: Path Traversal via Symlink CVSS 4.0HIGH 8.7
  • TI-2024-07209 Arbitrary File Overwrite in onnx/onnx CVSS 3.1CRITICAL 9.1
  • TI-2024-04814 Arbitrary File Overwrite in download_model_with_test_data in onnx/onnx CVSS 3.1HIGH 8.8
  • TI-2026-99086 Cross-site scripting in ONNX ONNXMLTools model visualization CVSS 4.0MEDIUM 5.3
  • TI-2026-36338 ONNX symlink-following and path-traversal arbitrary file write CVSS 4.0MEDIUM 6.8
See all 18 →

Sources