# CVE-2025-53528: Cadwyn is vulnerable to an XSS attack through its docs page

- Severity: High 7.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2025-07-21T14:08:40.000Z
- Modified: 2026-06-17T09:38:23.330Z
- Also known as: GHSA-2gxp-6r36-m97r, PYSEC-2025-71
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- zmievsa cadwyn: < 5.4.3
- cadwyn (PyPI): before 5.4.3; before b424ecd57cd8dabbc8fe39b8f8ccafea629c7728

## Every score

- GitHub_M: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L`
- GitHub: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L`

## References

- <https://github.com/zmievsa/cadwyn/security/advisories/GHSA-2gxp-6r36-m97r> (advisory, web)
- <https://github.com/zmievsa/cadwyn/commit/b424ecd57cd8dabbc8fe39b8f8ccafea629c7728> (fix, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-53528> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/cadwyn/PYSEC-2025-71.yaml> (web)
- <https://github.com/zmievsa/cadwyn> (package)
- <https://github.com/zmievsa/cadwyn/blob/5.4.3/CHANGELOG.md#543> (web)

## Sources

- CVE List: [CVE-2025-53528](https://www.cve.org/CVERecord?id=CVE-2025-53528), CVE Terms of Use, modified 2025-07-23
- GitHub Advisory Database: [GHSA-2gxp-6r36-m97r](https://github.com/advisories/GHSA-2gxp-6r36-m97r), CC-BY-4.0, modified 2025-07-23
- NVD: [CVE-2025-53528](https://nvd.nist.gov/vuln/detail/CVE-2025-53528), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-71](https://osv.dev/vulnerability/PYSEC-2025-71), CC-BY-4.0, modified 2025-07-23

---

Page: https://cve.day/CVE-2025-53528 · Whole record: https://cve.day/CVE-2025-53528.json · Rebuilt by cve.day 2026-11-25T22:59:01.548Z
