Data Handler Vulnerability in Python's urllib Request
CVE-2025-15282
6MEDIUM
What is CVE-2025-15282?
A security vulnerability in Python's urllib request module allows for header injection through user-controlled data URLs. By exploiting this flaw, an attacker can introduce newlines in the data URL mediatype, which could lead to the execution of arbitrary headers in a request. This vulnerability highlights the need for secure handling of user input and emphasizes the importance of validating data formats before use.
Affected Version(s)
CPython 0 < 3.10.20
CPython 3.11.0 < 3.11.15
CPython 3.12.0 < 3.12.13
