PYSEC-2023-50
Quick fix
PYSEC-2023-50 — streamlit: upgrade to the fixed version with the command below.
pip install --upgrade 'streamlit>=afcf880c60e5d7538936cc2d9721b9e1bc02b075'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: afcf880c60e5d7538936cc2d9721b9e1bc02b075pip install --upgrade 'streamlit>=afcf880c60e5d7538936cc2d9721b9e1bc02b075'References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/streamlit"]}'