Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2023-27494
Python vulnerability analysis and mitigation

Overview

Streamlit, a software for turning data scripts into web applications, had a cross-site scripting (XSS) vulnerability in versions 0.63.0 through 0.80.0. The vulnerability was discovered on April 20, 2021, and patched on April 21, 2021, with the release of version 0.81.0. The issue was officially disclosed on March 16, 2023, with a CVE identifier CVE-2023-27494 (NVD, GitHub Advisory).

Technical details

The vulnerability was classified as a reflected XSS vulnerability with a CVSS v3.1 base score of 6.1 (Medium) according to NVD, and 5.9 (Medium) according to GitHub. The CVSS vector string is CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, indicating that the vulnerability is network-accessible, requires low attack complexity, needs no privileges, but does require user interaction. The vulnerability was fixed by removing path information from 404 responses to prevent potential XSS attacks (GitHub Patch).

Impact

If successfully exploited, the vulnerability could allow attackers to execute malicious JavaScript code in the context of the user's browser session. This could potentially lead to unauthorized access to user data, session hijacking, or other client-side attacks. The vulnerability affects the confidentiality and integrity of the application with low impact, while having no impact on availability (GitHub Advisory).

Exploitability

The vulnerability could be exploited by crafting a malicious URL containing JavaScript payloads and tricking users into visiting it. When accessed, the server would render the malicious JavaScript payload as-is, leading to cross-site scripting. The attack requires user interaction and has high attack complexity (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in Streamlit version 0.81.0, released on April 21, 2021. Users running affected versions (0.63.0 through 0.80.0) should upgrade to version 0.81.0 or later. These affected versions are no longer supported, and it is recommended to always use supported versions of the Streamlit open source library (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66455CRITICAL9.8
  • Python logoPython
  • lmdeploy
NoYesSep 18, 2026
CVE-2026-63374CRITICAL9.3
  • Python logoPython
  • airflow-core-2
NoYesSep 18, 2026
CVE-2026-59163CRITICAL9.1
  • Python logoPython
  • mnemosyne-memory
NoYesSep 18, 2026
CVE-2026-33625HIGH8.8
  • Python logoPython
  • lmdeploy
NoYesSep 18, 2026
CVE-2026-64847MEDIUM6.8
  • Python logoPython
  • airflow-3
NoYesSep 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management