Skip to main content

CVE-2026-111987: Cross Site Scripting in AUTOMATIC1111 stable-diffusion-webui

0
Medium
VulnerabilityCVE-2026-111987cvecve-2026-111987
Published: 10/18/2026 (10/18/2026, 13:15:16 UTC)
Source: CVE Database V5
Vendor/Project: AUTOMATIC1111
Product: stable-diffusion-webui

Description

CVE-2026-111987 is a medium severity cross-site scripting (XSS) vulnerability in AUTOMATIC1111 stable-diffusion-webui versions 1.10.0 and 1.10.1. The flaw exists in the read_metadata_from_safetensors function within the Extra-Networks Card Builder component, where manipulation of the __metadata__.sshs_model_hash argument can lead to XSS. The vulnerability can be exploited remotely and public exploit code is available. The project has been informed but has not yet responded or issued a fix.

CVSS v4.0

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

AUTOMATIC1111

stable-diffusion-webui

Affected versions
=1.10.0=1.10.1
GitHub Actionsmore threats →ai
automatic1111/stable-diffusion-webui
pkg:github/automatic1111/stable-diffusion-webui
Affected versions
=1.10.0=1.10.1
CPE configurations
cpe:2.3:a:automatic1111:stable-diffusion-webui:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 14:03:15 UTC

Technical Analysis

This vulnerability affects AUTOMATIC1111 stable-diffusion-webui up to version 1.10.1 in the read_metadata_from_safetensors function of modules/sd_models.py, specifically in the Extra-Networks Card Builder component. An attacker can manipulate the __metadata__.sshs_model_hash argument to execute cross-site scripting attacks remotely. The vulnerability has a CVSS 4.0 score of 5.3 (medium severity) with network attack vector, low attack complexity, no privileges required, user interaction required, and partial impact on integrity. Public exploit code exists, but no vendor response or patch has been published yet.

Potential Impact

Successful exploitation allows an attacker to perform cross-site scripting attacks remotely, potentially leading to the execution of arbitrary scripts in the context of the affected web interface. This can result in user session hijacking, defacement, or other malicious actions limited to the scope of the web UI. The vulnerability does not require privileges or authentication but does require user interaction.

Mitigation Recommendations

No official fix or patch is currently available as the vendor has not responded to the issue report. Users should exercise caution when processing untrusted safetensors metadata and consider restricting access to the affected component until a patch is released. Monitor the vendor's channels for updates and apply any forthcoming official fixes promptly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-10-17T21:49:44.355Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ad4cb082cdf04f6566f546d

Added to database: 10/18/2026, 13:35:04 UTC

Last enriched: 10/18/2026, 14:03:15 UTC

Last updated: 10/18/2026, 20:48:08 UTC

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses