SillyTavern CVE-2025-59159
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure victim to malicious website
-
DeliveryServe DNS-rebinding payload page
-
ExploitRebind domain to victim's 127.0.0.1
-
ExecutionBrowser JS reaches local SillyTavern UI
-
PersistRead chats and install malicious extension
-
ImpactFull control of instance
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
|
| Exploitation Conditions | Exploitation targets a running SillyTavern web UI (versions < 1.13.4, or 1.13.4+ with the new hostWhitelist left at its default-disabled state) that is reachable over the local network or loopback, particularly without SSL. The default configuration is vulnerable because host-header validation (hostWhitelist.enabled) ships set to false for backward compatibility, so no special victim-side configuration is needed. The attack does NOT require the instance to be exposed to the internet. Required limiting factors: the victim must actively visit an attacker-controlled webpage while their instance is running (UI:R), and the attack depends on DNS-rebinding timing (DNS TTL/cache behavior and the victim keeping the malicious page open). Critically, upgrading alone is insufficient - administrators must explicitly set hostWhitelist.enabled=true (or SILLYTAVERN_HOSTWHITELIST_ENABLED) and populate hostWhitelist.hosts to be protected. |
| Impact | Signals conflict and must be weighed carefully. The CVSS 3.1 base score is 9.6 (Critical) with vector AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H, reflecting a scope-changing browser-side bypass with full confidentiality/integrity/availability impact. However, EPSS is only 0.25% (15th percentile), indicating low modeled probability of widespread near-term exploitation, and the CVE is NOT listed in CISA KEV - so there is no evidence of active exploitation. Working exploit code IS publicly available (a complete DNS-rebinding PoC is published in the GHSA-7cxj-w27x-x78q advisory), so publicly available exploit code exists, but this is a distinct signal from active exploitation and should not be conflated. Two crucial limiting factors temper the Critical score: (1) the attack requires user interaction (UI:R) - a victim must visit an attacker-controlled webpage while their SillyTavern instance is running; and (2) SillyTavern is a niche, locally-installed hobbyist LLM front-end, not enterprise infrastructure. A critical nuance for defenders: the 1.13.4 patch ships the host-whitelist mitigation DISABLED BY DEFAULT (hostWhitelist.enabled: false), so simply upgrading does NOT remediate the issue - administrators must manually enable it and populate an allowed-hosts list. Net assessment: genuine high technical impact and a real exploit, but low real-world urgency driven by low EPSS, no KEV, required user interaction, and a small deployment footprint - treat as a configuration-hardening priority for affected users rather than a mass-exploitation emergency. |
| Exploit ScenarioDerived | An attacker hosts a malicious webpage that performs DNS rebinding, pointing a controlled domain at the victim's loopback/local address. A SillyTavern user who is running the web UI locally visits the attacker's page; after the DNS record rebinds to 127.0.0.1, the attacker's JavaScript bypasses same-origin protections and sends requests to the victim's SillyTavern instance to read chats, inject phishing HTML, or install malicious extensions. A complete, working PoC demonstrating this is published in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
DNS rebinding against SillyTavern's locally hosted web UI lets a malicious website reach a running instance on the victim's machine and act with the user's privileges: reading chats, installing extensions, and injecting HTML for phishing. All releases before 1.13.4 are affected, and 1.13.4+ remains exposed unless the newly added host whitelist is explicitly enabled, since it ships disabled for backward compatibility. Under the assessed vector (AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H) the attack is unauthenticated but requires the victim to visit attacker-controlled content and depends on DNS-rebinding timing; public proof-of-concept code is documented in the vendor advisory, EPSS is low (~0.25%, 15th percentile), and there is no KEV confirmation of active exploitation.
RemediationAI
Upgrade to SillyTavern 1.13.4 or later (npm sillytavern >= 1.13.4), but treat the upgrade as only half the fix: explicitly set hostWhitelist.enabled: true in config.yaml or export SILLYTAVERN_HOSTWHITELIST_ENABLED=true, and populate hostWhitelist.hosts with every hostname you legitimately use to reach the UI (for example your LAN hostname, reverse-proxy name, or a .trycloudflare.com pattern), then restart the server. Leaving enabled at false, or leaving hosts empty, reproduces the vulnerable behavior; a misconfigured whitelist will instead return the 403 host-not-allowed page, so validate access after the change. Keep hostWhitelist.scan at true so untrusted Host values are logged, understanding that scan only warns and does not block. Compensating controls if you cannot enable the whitelist immediately: bind the service to 127.0.0.1 only and do not expose it on the LAN, front it with a TLS reverse proxy that enforces a strict Host/server_name, and avoid browsing untrusted sites in the same browser profile used to administer SillyTavern. See the vendor checklist at https://docs.sillytavern.app/administration/#security-checklist and the host-whitelisting docs at https://docs.sillytavern.app/administration/config-yaml/#host-whitelisting.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-346 (Origin Validation Error) in SillyTavern's Express-based Node.js server, which historically did not validate the HTTP Host header on inbound requests. Browsers enforce same-origin policy and CORS, but DNS rebinding defeats this: after the victim loads an attacker page, the attacker's domain is re-resolved (via short TTL or a rebinding service) to 127.0.0.1, so subsequent fetches from the still-open page reach the local SillyTavern instance while the browser still considers them same-origin. Because the Host header carries the attacker's domain name rather than localhost, host-header allowlisting is the standard defense. The 1.13.4 fix adds a hostWhitelist middleware built on the npm package host-validation-middleware, wired in via app.use() in src/server-main.js. Configuration keys include hostWhitelist.enabled (default false, env SILLYTAVERN_HOSTWHITELIST_ENABLED), hostWhitelist.scan (default true, which only logs untrusted hosts up to 1000 distinct values and prints a warning), and hostWhitelist.hosts (array supporting dot-prefixed subdomain patterns like .trycloudflare.com; localhost and IPs are considered safe). When enabled, disallowed hosts receive a 403 with the host-not-allowed.html page and the attempt is logged. Note that scan mode alone does not block anything.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
DNS rebinding depends on DNS TTL/cache timing and the victim keeping the page open (conditions outside attacker control) so AC:H; default config is vulnerable (PR:N) but the victim must visit a malicious page (UI:R), and bypassing browser origin controls to reach the app is scope-changing (S:C).
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
SillyTavern is a locally installed user interface that allows users to interact with text generation large language models, image generation engines, and text-to-speech voice models. In versions prior to 1.13.4, the web user interface for SillyTavern is susceptible to DNS rebinding, allowing attackers to perform actions like install malicious extensions, read chats, inject arbitrary HTML for phishing attacks, etc. The vulnerability has been patched in the version 1.13.4 by introducing a server configuration setting that enables a validation of host names in inbound HTTP requests according to the provided list of allowed hosts: hostWhitelist.enabled in config.yaml file or SILLYTAVERN_HOSTWHITELIST_ENABLED environment variable. While the setting is disabled by default to honor a wide variety of existing user configurations and maintain backwards compatibility, existing and new users are encouraged to review their server configurations and apply necessary changes to their setup, especially if hosting over the local network while not using SSL.
Executive ViewAI
SillyTavern's locally hosted web interface is exposed to DNS rebinding, allowing malicious websites to access a running instance and read chats, install extensions, or inject phishing content. The flaw affects releases before 1.13.4 and later versions unless the new host whitelist is manually enabled, and publicly available exploit code exists without CISA KEV confirmation of active exploitation. Leadership should care because employees using this tool could expose sensitive conversations and enable further compromise on their machines.
No vendor-released patch identified at time of analysis. Interim mitigations: upgrade to 1.13.4 or later and explicitly enable the host whitelist; run SillyTavern only when needed and bind to localhost; restrict browser use to trusted sites while the instance is running; monitor for unexpected extensions or injected HTML; apply vendor patch when released.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
NVD
CVE.org
EPSS
GitHub
Exploit-DB