What’s Vulnerable › Vulnerabilities

CVE-2025-15282: Header injection via newlines in data URL mediatype

Description

User-controlled data URLs parsed by urllib.request.DataHandler allow injecting headers through newlines in the data URL mediatype.

Affected products

How to fix

Upgrade to a fixed version: Python 3.10.20, 3.11.15, 3.12.13, 3.13.12. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-15282 or the next vulnerability affects your stack