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

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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.