—
PYSEC-2025-71
Quick fix
PYSEC-2025-71 — cadwyn: upgrade to the fixed version with the command below.
pip install --upgrade 'cadwyn>=b424ecd57cd8dabbc8fe39b8f8ccafea629c7728'Details
Cadwyn creates production-ready community-driven modern Stripe-like API versioning in FastAPI. In versions before 5.4.3, the version parameter of the "/docs" endpoint is vulnerable to a Reflected XSS (Cross-Site Scripting) attack. This XSS would notably allow an attacker to execute JavaScript code on a user's session for any application based on Cadwyn via a one-click attack. The vulnerability has been fixed in version 5.4.3.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/cadwyn
Introduced in:
0Fixed in: b424ecd57cd8dabbc8fe39b8f8ccafea629c7728Fix
pip install --upgrade 'cadwyn>=b424ecd57cd8dabbc8fe39b8f8ccafea629c7728'