6.0
MEDIUM CVSS 4.0
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.

INFO

Published Date :

Jan. 20, 2026, 10:15 p.m.

Last Modified :

Jan. 26, 2026, 3:16 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-15282 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Python python
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 4.0 MEDIUM 28c92f92-d60d-412d-b760-e73465c3df22
CVSS 4.0 MEDIUM [email protected]
Solution
Sanitize data URLs to prevent header injection by validating mediatype.
  • Avoid parsing data URLs with urllib.request.DataHandler.
  • Validate mediatype in data URLs.
  • Do not allow newlines in mediatype.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-15282 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-15282 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-15282 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-15282 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Jan. 26, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/python/cpython/commit/34d76b00dabde81a793bd06dd8ecb057838c4b38
    Added Reference https://github.com/python/cpython/commit/3f396ca9d7bbe2a50ea6b8c9b27c0082884d9f80
    Added Reference https://github.com/python/cpython/commit/4ed11d3cd288e6b90196a15c5a825a45d318fe47
    Added Reference https://github.com/python/cpython/commit/a35ca3be5842505dab74dc0b90b89cde0405017a
  • CVE Modified by [email protected]

    Jan. 23, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/python/cpython/commit/05356b1cc153108aaf27f3b72ce438af4aa218c0
  • CVE Modified by [email protected]

    Jan. 20, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/python/cpython/commit/f25509e78e8be6ea73c811ac2b8c928c28841b9f
  • New CVE Received by [email protected]

    Jan. 20, 2026

    Action Type Old Value New Value
    Added Description User-controlled data URLs parsed by urllib.request.DataHandler allow injecting headers through newlines in the data URL mediatype.
    Added CVSS V4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-93
    Added Reference https://github.com/python/cpython/issues/143925
    Added Reference https://github.com/python/cpython/pull/143926
    Added Reference https://mail.python.org/archives/list/[email protected]/thread/X66HL7SISGJT33J53OHXMZT4DFLMHVKF/
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability