Vulnerability · Published Mar 16, 2023 · Assigned by GitHub_M

CVE-2023-27494Streamlit Cross-site Scripting vulnerability

Medium 5.9

In plain English

A medium-severity cross-site scripting in streamlit from streamlit. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.4%top 64.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIstreamlit0.81.0GHSA-9c6g-qpgj-rvxw
PyPIstreamlit0.81.0PYSEC-2023-50

Affected products (as reported)

VendorProductVersions
streamlit streamlit >= 0.63.0, < 0.81.0

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N

References