CVE-2026-111987: Cross Site Scripting in AUTOMATIC1111 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
Affected software
AUTOMATIC1111
stable-diffusion-webui
pkg:github/automatic1111/stable-diffusion-webuicpe: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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.