CVE-2023-27494 json
Streamlit Cross-site Scripting vulnerability
published 3y ago modified 4mo ago also EUVD-2023-0247 , GHSA-9c6g-qpgj-rvxw , PYSEC-2023-50
- 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
Is CVE-2023-27494 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-15).
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 |
| GitHub | 3.0 | 5.9 | CVSS:3.0/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 |
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
- Maintainer advisory GHSA-9c6g-qpgj-rvxw
Fencer Intel 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.
The maintainers of streamlit/streamlit published their own advisory on GitHub. Reviewed sources take precedence over it.