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. Prior to 1.18.0, when fetch(url) throws, the code sends:
res.status(500).send('Error occurred while trying to proxy to: ' + url + ' ' + error). The url value is attacker-controlled (req.params.url) and is not HTML-escaped before rendering. This vulnerability is fixed in 1.18.0.
Published: 2026-05-29
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a reflected cross‑site scripting flaw in the SillyTavern application. When a fetch request to an external URL fails, the error handler emits an HTTP 500 response that includes the raw attacker‑controlled URL string (req.params.url) concatenated with the error text. Because the URL is not HTML‑escaped, an attacker can embed malicious JavaScript in the URL, causing the browser to execute it in the context of the SillyTavern UI. This permits full client‑side code execution, allowing theft of session cookies, manipulation of the interface, or loading of additional malware, thereby compromising confidentiality and integrity of the user’s session.

Affected Systems

SillyTavern local UI, version 1.17.x or earlier. The issue was patched in release 1.18.0. Hence all installations running a pre‑1.18.0 build are vulnerable.

Risk and Exploitability

The CVSS v3.1 base score is 6.9, indicating a medium severity flaw that requires user interaction to trigger. EPSS is not available, providing no guidance on current exploitation probability, and the defect is not listed in the CISA KEV catalog, implying no confirmed widespread exploitation yet. The flaw can be exercised by any user who can supply a URL that causes a fetch error; the attacker only needs to lure a victim into accessing a malicious URL that triggers the error response, which the browser then renders. Because the reflected payload is executed in the victim’s browser, the impact is limited to the client side, but the attack can be used to compromise potentially sensitive information or impersonate the user.

Generated by OpenCVE AI on May 29, 2026 at 19:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the 1.18.0 or later patch to SillyTavern to remove the unescaped URL from error responses.
  • If upgrading is not feasible, modify the error handler or CORS proxy middleware to HTML‑escape any user‑supplied data before rendering.
  • Implement a strong Content‑Security‑Policy that disallows inline scripts to reduce the damage should an XSS payload be delivered.

Generated by OpenCVE AI on May 29, 2026 at 19:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-xc4x-2452-5gc9 SillyTavern has a reflected XSS vulnerability in the CORS proxy middleware
History

Fri, 29 May 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Sillytavern
Sillytavern sillytavern
Vendors & Products Sillytavern
Sillytavern sillytavern

Fri, 29 May 2026 18:30:00 +0000

Type Values Removed Values Added
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. Prior to 1.18.0, when fetch(url) throws, the code sends: res.status(500).send('Error occurred while trying to proxy to: ' + url + ' ' + error). The url value is attacker-controlled (req.params.url) and is not HTML-escaped before rendering. This vulnerability is fixed in 1.18.0.
Title SillyTavern: Reflected XSS vulnerability in the CORS proxy middleware
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Sillytavern Sillytavern
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-29T17:49:19.494Z

Reserved: 2026-05-07T15:30:10.876Z

Link: CVE-2026-44651

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-05-29T19:16:24.993

Modified: 2026-05-29T19:16:24.993

Link: CVE-2026-44651

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-29T19:30:05Z

Weaknesses