{"schemaVersion":3,"id":"CVE-2023-27494","aliases":["GHSA-9c6g-qpgj-rvxw","PYSEC-2023-50"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-03-16T20:29:17.975Z","modified":"2025-02-25T14:54:44.086Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":6,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","score":5.9,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","exploitability":4.1,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0041,"percentile":0.33835,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0041},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0041,"percentile":0.33835}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0041,"percentile":0.33835}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"PyPI","product":"streamlit","name":"streamlit","label":"streamlit","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/streamlit","purlType":"pypi","versions":[{"text":"< afcf880c60e5d7538936cc2d9721b9e1bc02b075","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.63.0, < 0.81.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< afcf880c60e5d7538936cc2d9721b9e1bc02b075 | ≥ 0.63.0, < 0.81.0","eol":null,"hubHref":null},{"vendor":"snowflake","product":"streamlit","name":"streamlit","label":"streamlit","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.63.0, < 0.81.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.63.0, < 0.81.0","eol":null,"hubHref":"/vendor/snowflake/streamlit"},{"vendor":"streamlit","product":"streamlit","name":"streamlit","label":"streamlit","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.63.0, < 0.81.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.63.0, < 0.81.0","eol":null,"hubHref":"/vendor/streamlit/streamlit"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/streamlit/streamlit/security/advisories/GHSA-9c6g-qpgj-rvxw","label":"github.com/streamlit/streamlit/security/advisories/GHSA-9c6g-qpgj-rvxw","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Vendor Advisory"]},{"url":"https://github.com/streamlit/streamlit/commit/afcf880c60e5d7538936cc2d9721b9e1bc02b075","label":"github.com/streamlit/streamlit/commit/afcf880c60e5d7538936cc2d9721b9e1bc02b075","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-27494","label":"nvd.nist.gov/vuln/detail/CVE-2023-27494","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/streamlit/PYSEC-2023-50.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/streamlit/PYSEC-2023-50.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/streamlit/streamlit","label":"github.com/streamlit/streamlit","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-03-16T20:29:17.975Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-25T14:54:44.086Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":24,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:14:07.346Z","stale":false,"partial":false}}