{"id":"CVE-2023-27494","published":"2023-03-16T20:29:17Z","modified":"2025-02-25T14:54:44Z","title":"Streamlit Cross-site Scripting vulnerability","vendor":"streamlit","product":"streamlit","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00407,"percentile":0.35876,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/streamlit/streamlit/security/advisories/GHSA-9c6g-qpgj-rvxw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/streamlit/streamlit/commit/afcf880c60e5d7538936cc2d9721b9e1bc02b075","tags":["x_refsource_MISC"]}],"priority":{"score":11.3,"factors":[{"name":"EPSS percentile","points":7.18},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"streamlit","affectedVersions":[{"vendor":"streamlit","product":"streamlit","versions":[">= 0.63.0, < 0.81.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-02-25T14:29:04.799453Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"streamlit","vulnerableRanges":[">=0.63.0, <0.81.0"],"patched":["0.81.0"],"from":["GHSA-9c6g-qpgj-rvxw","PYSEC-2023-50"],"provenance":"source"}],"summary":{"text":"Streamlit, the software for turning data scripts into web applications, contains a cross-site scripting flaw in the streamlit product in versions 0.63.0 through 0.80.0, which reflects attacker-supplied input into rendered pages. An attacker can craft a malicious URL carrying JavaScript and trick a user into visiting it; this requires no authentication but does require user interaction, and the attack is not considered low-complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:33Z"},"euvd":{"id":"EUVD-2023-0247","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-streamlit-cve-2022-35918","parents":[{"from":"CVE-2022-35918","to":"CVE-2023-27494","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/streamlit/components/v1/components.py"],"commits":["https://github.com/streamlit/streamlit/commit/80d9979d5f4a00217743d607078a1d867fad8acf","https://github.com/streamlit/streamlit/commit/afcf880c60e5d7538936cc2d9721b9e1bc02b075"],"basis":"shared function","functions":["get"]}]}]}}