Description
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.
Published: 2026-10-18
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Cross‑Site Scripting
Action: Monitor for patch
AI Analysis

Impact

The vulnerability resides in the read_metadata_from_safetensors function of the Extra‑Networks Card Builder in stable‑diffusion‑webui. By altering the __metadata__.sshs_model_hash argument an attacker can inject malicious JavaScript that will run in the browser context of any user who views the affected content, leading to typical XSS consequences such as credential theft or session hijack. The CVSS score of 5.3 indicates a moderate severity and the attack can be carried out remotely without authentication.

Affected Systems

Automatic1111 stable‑diffusion‑webui up to and including version 1.10.1 are affected. The impact is limited to environments where the Extra‑Networks Card Builder module is enabled.

Risk and Exploitability

The CVSS score reflects a moderate risk. No EPSS data is available and the vulnerability is not listed in CISA KEV, suggesting it is not currently observed as a widespread exploit. Nevertheless the publicly disclosed proof of concept demonstrates that the flaw can be exploited from a remote vector, and XSS remains a high‑impact attack surface for web interfaces.

Generated by OpenCVE AI on October 18, 2026 at 14:20 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply an official patch for stable‑diffusion‑webui that removes the XSS issue in read_metadata_from_safetensors as soon as it is released
  • Temporarily disable the Extra‑Networks Card Builder component or remove the modules/sd_models.py file until a fix is available
  • Enforce a restrictive Content Security Policy or web application firewall to block execution of injected scripts.

Generated by OpenCVE AI on October 18, 2026 at 14:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Description 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.
Title AUTOMATIC1111 stable-diffusion-webui Extra-Networks Card Builder sd_models.py read_metadata_from_safetensors cross site scripting
First Time appeared Automatic1111
Automatic1111 stable-diffusion-webui
Weaknesses CWE-79
CWE-94
CPEs cpe:2.3:a:automatic1111:stable-diffusion-webui:*:*:*:*:*:*:*:*
Vendors & Products Automatic1111
Automatic1111 stable-diffusion-webui
References
Metrics cvssV2_0

{'score': 5, 'vector': 'AV:N/AC:L/Au:N/C:N/I:P/A:N/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 4.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:C'}

cvssV3_1

{'score': 4.3, 'vector': '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'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Automatic1111 Stable-diffusion-webui
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-10-18T13:15:16.251Z

Reserved: 2026-10-17T21:49:44.355Z

Link: CVE-2026-111987

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T14:16:54.630

Modified: 2026-10-18T14:16:54.630

Link: CVE-2026-111987

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T14:30:13Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')