---
id: CVE-2026-111987
title: >-
  AUTOMATIC1111 stable-diffusion-webui Extra-Networks Card Builder sd_models.py
  read_metadata_from_safetensors cross site scripting
summary: >-
  A vulnerability was identified in AUTOMATIC1111 stable-diffusion-webui up to
  1.10.1. Affected by this vulnerability is the function
  read_metadata_from_safetensors of the file modules/sd_models.py of the
  component Extra-Networks Card Buil…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:C'
cvssSource: cna
cwe:
  - CWE-79
  - CWE-94
vendor: AUTOMATIC1111
product: stable-diffusion-webui
affected:
  - stable-diffusion-webui 1.10.0
  - stable-diffusion-webui 1.10.1
published: '2026-10-18'
updated: '2026-10-18'
sourceUpdated: '2026-10-18T13:15:16.251Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-111987'
references:
  - url: 'https://vuldb.com/vuln/421653'
    label: >-
      VDB-421653 | AUTOMATIC1111 stable-diffusion-webui Extra-Networks Card
      Builder sd_models.py read_metadata_from_safetensors cross site scripting
  - url: 'https://vuldb.com/vuln/421653/cti'
    label: 'VDB-421653 | CTI Indicators (IOB, IOC, TTP, IOA)'
  - url: 'https://vuldb.com/cve/CVE-2026-111987'
    label: CVE-2026-111987 | CVE Analysis and Report
  - url: 'https://vuldb.com/submit/1006710'
    label: >-
      Submit #1006710 | AUTOMATIC1111 stable-diffusion-webui v1.10.1 Cross Site
      Scripting
  - url: 'https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/17500'
  - url: 'https://github.com/user-attachments/files/32834382/a1111-sshs-hash-poc.zip'
  - url: 'https://github.com/AUTOMATIC1111/stable-diffusion-webui/'
tags:
  - cve.org
ingestedAt: '2026-10-18T13:43:34.557Z'
---

## Overview

A vulnerability was identified in AUTOMATIC1111 stable-diffusion-webui up to 1.10.1. Affected by this vulnerability is the function read_metadata_from_safetensors of the file modules/sd_models.py of the component Extra-Networks Card Builder. Such manipulation of the argument __metadata__.sshs_model_hash leads to cross site scripting. The attack can be launched remotely. The exploit is publicly available and might be used. The project was informed of the problem early through an issue report but has not responded yet.

## Affected

- `stable-diffusion-webui 1.10.0`
- `stable-diffusion-webui 1.10.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
