# CVE-2023-27494: Streamlit Cross-site Scripting vulnerability

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2023-03-16T20:29:17.975Z
- Modified: 2026-06-17T05:45:19.890Z
- Also known as: GHSA-9c6g-qpgj-rvxw, PYSEC-2023-50
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- streamlit streamlit: >= 0.63.0, < 0.81.0
- streamlit (PyPI): from 0.63.0 before 0.81.0; before afcf880c60e5d7538936cc2d9721b9e1bc02b075
- snowflake streamlit: from 0.63.0 before 0.81.0

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.0 5.9 Medium `CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/streamlit/streamlit/security/advisories/GHSA-9c6g-qpgj-rvxw> (advisory, vendor-advisory, web)
- <https://github.com/streamlit/streamlit/commit/afcf880c60e5d7538936cc2d9721b9e1bc02b075> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-27494> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/streamlit/PYSEC-2023-50.yaml> (web)
- <https://github.com/streamlit/streamlit> (package)

## Sources

- CVE List: [CVE-2023-27494](https://www.cve.org/CVERecord?id=CVE-2023-27494), CVE Terms of Use, modified 2025-02-25
- GitHub Advisory Database: [GHSA-9c6g-qpgj-rvxw](https://github.com/advisories/GHSA-9c6g-qpgj-rvxw), CC-BY-4.0, modified 2024-10-28
- NVD: [CVE-2023-27494](https://nvd.nist.gov/vuln/detail/CVE-2023-27494), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-50](https://osv.dev/vulnerability/PYSEC-2023-50), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2023-27494 · Whole record: https://cve.day/CVE-2023-27494.json · Rebuilt by cve.day 2026-11-25T22:58:22.498Z
