# CVE-2023-27494: Streamlit publishes previously-patched Cross-site Scripting vulnerability

Source: https://junglewise.ai/threats/cve-2023-27494-streamlit-publishes-previously-patched-cross-site-scripting  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-03-16  
License: CC BY 4.0 with a link back

CVE-2023-27494 · Severity: low · CVSS 3 · Published 2023-03-16

Streamlit, software for turning data scripts into web applications, had a cross-site scripting (XSS) vulnerability in versions 0.63.0 through 0.80.0. Users of hosted Streamlit app(s) were vulnerable to a reflected XSS vulnerability. An attacker could craft a malicious URL with Javascript payloads to a Streamlit app. The attacker could then trick the user into visiting the malicious URL and, if successful, the server would render the malicious javascript payload as-is, leading to XSS. Version 0.81.0 contains a patch for this vulnerability.

Technologies: [streamlit (PyPI)](https://junglewise.ai/threats/technologies/pypi-streamlit). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2023-27494 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-27494 being exploited in the wild.

**How severe is CVE-2023-27494?** Low severity, with a CVSS score of 3, published 16 March 2023.

**Which products and versions are affected?** streamlit (PyPI) ECOSYSTEM:introduced=0.63.0,fixed=0.81.0, GIT:introduced=0,fixed=afcf880c60e5d7538936cc2d9721b9e1bc02b075|ECOSYSTEM:introduced=0.63.0,fixed=0.81.0.

**Is there a fix for CVE-2023-27494?** Yes. streamlit (PyPI): upgrade to 0.81.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-27494?** Check whether you run streamlit (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- streamlit (PyPI): upgrade to 0.81.0 or later

  ```sh
  pip install "streamlit>=0.81.0"
  ```


## Affected products

- streamlit (PyPI) ECOSYSTEM:introduced=0.63.0,fixed=0.81.0, GIT:introduced=0,fixed=afcf880c60e5d7538936cc2d9721b9e1bc02b075|ECOSYSTEM:introduced=0.63.0,fixed=0.81.0

## Identifiers

- CVE-2023-27494
- GHSA-9c6g-qpgj-rvxw
- PYSEC-2023-50

## Related threats

- [Streamlit weak hash in caching component](https://junglewise.ai/threats/cve-2026-10804-streamlit-weak-hash-in-caching-component)
- [Unauthenticated SSRF Vulnerability in Streamlit on Windows (NTLM Credential Exposure)](https://junglewise.ai/threats/cve-2026-33682-unauthenticated-ssrf-vulnerability-in-streamlit-on-windows-ntlm)
- [Path traveral in Streamlit on windows](https://junglewise.ai/threats/cve-2024-42474-path-traveral-in-streamlit-on-windows)
- [Streamlit directory traversal vulnerability](https://junglewise.ai/threats/cve-2022-35918-streamlit-directory-traversal-vulnerability)
