CVE-2025-59159 SillyTavern Web Interface Vulnerable to DNS Rebinding

Critical 9.7 Published Updated

Attackers can bypass origin checks via DNS rebinding to install malicious extensions or read chats in SillyTavern if host validation is disabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-59159?

CVE-2025-59159 is a critical vulnerability in SillyTavern, published on 6 Oct 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-940, CWE-346

Which versions are affected by CVE-2025-59159?

2 open source packages ship an affected version, including sillytavern.

PackageAffectedFixed in
sillytavern npmAll versions1.13.4
sillytavern npmAll versions1.13.4

How do I fix CVE-2025-59159?

Upgrade sillytavern to 1.13.4 or later.

Is CVE-2025-59159 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-59159 exists.

Sources

Also known as GHSA-7cxj-w27x-x78q.

Is CVE-2025-59159 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free