CVE-2023-27494 json
Streamlit Cross-site Scripting vulnerability
published 2023-03-16 3 y ago modified 2026-06-17 4 mo ago also GHSA-9c6g-qpgj-rvxw , PYSEC-2023-50 , EUVD-2023-0247
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 35%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | streamlit | >=0.63.0, <0.81.0 |
0.81.0 |
Affected products
- streamlit streamlit
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/streamlit/streamlit/commit/afcf880c60e5d7538936cc2d9721b9e1bc02b075
web, patch
-
github.com
/streamlit/streamlit/security/advisories/GHSA-9c6g-qpgj-rvxw
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-27494
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/streamlit/PYSEC-2023-50.yaml
web
-
github.com
/streamlit/streamlit
package
Sources
- CVE List CVE-2023-27494
- GitHub Advisory GHSA-9c6g-qpgj-rvxw
- NVD CVE-2023-27494
- OSV PYSEC-2023-50
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.