Advisory

PYSEC-2025-71

Also known as: CVE-2025-53528, GHSA-2gxp-6r36-m97r

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2025-07-21 21:15 UTC
Modified
2025-07-23 16:12 UTC

Affected packages and fixes

cadwyn

PyPI · All systems

Affected

  • introduced 0, fixed 5.4.3 (ecosystem)

Fixed versions

5.4.3

Fix

  • Fixed version 5.4.3
    pip install --upgrade cadwyn==5.4.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences