Loading advisory.
Loading advisory.
SillyTavern has a reflected XSS vulnerability in the CORS proxy middleware
Fixed in SillyTavern 1.18.0: a user-provided URL is no longer reflected in the HTTP response body.
Published 2026-05-12 22:23 UTC · Modified 2026-06-09 10:45 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| sillytavern | npm | < 1.18.0 | 1.18.0 | npm install sillytavern@1.18.0 |
Fixed in SillyTavern 1.18.0: a user-provided URL is no longer reflected in the HTTP response body.
Vulnerability Type: XSS
Affected Location: src/middleware/corsProxy.js:40
Trigger Scenario: reflected XSS in CORS proxy error response
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.
Source (user-controlled input)
Entry point: GET /proxy/:url(*)
Data flow
Code analysis shows concrete propagation into this sink:
vulnerability title: Reflected XSS in CORS proxy error response
sink location reached by attacker-controlled input: src/middleware/corsProxy.js:40
The same sink behavior is confirmed by controlled execution observations.
Sink (dangerous operation)
Sink location: src/middleware/corsProxy.js:40
Vulnerable behavior: reflected XSS in CORS proxy error response
The attacker can inject controllable content into a rendered response.
The vulnerable rendering context does not apply strict output encoding/sanitization.
A victim user opens the affected page or response.
This issue enables script execution in the victim context and can compromise session or data integrity.
An attacker may run arbitrary JavaScript in the victim context, steal tokens, and manipulate user-visible behavior.
Never concatenate raw user input into HTML error responses.
If URL echo is required, HTML-escape it or force plain-text output.
Re-enable/strengthen CSP to reduce reflected injection impact.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.003 on 2026-11-24 to 0.004 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.003 | first score | v2026.06.15 |
| 2026-11-26 | 0.004 | 0.003 | v2026.06.15 |