CVE Explorer
CVE-2026-42874
Microdot is a minimalistic Python web framework. Prior to 2.6.1, the Response.set_cookie() method does not sanitize its string arguments, and in particular will not detect the presence of the \r\n sequence in them. This can be a potential source of header injection attacks. For a header injection attack through this issue to be possible, an attacker must first infiltrate the client (for example through an independent XSS attack), so that it can send malicious information that is destined to be s
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"microdot","vendor":"miguelgrinberg","versions":[{"status":"affected","version":"< 2.6.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a8f962001c7df0737e97ddafa5c9964f807283c81d0ba623886b9c1af9e3ca9b · sha256:d79178dbb088893f… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.7,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a8f962001c7df0737e97ddafa5c9964f807283c81d0ba623886b9c1af9e3ca9b · sha256:d79178dbb088893f… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-113","description":"CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a8f962001c7df0737e97ddafa5c9964f807283c81d0ba623886b9c1af9e3ca9b · sha256:d79178dbb088893f… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/miguelgrinberg/microdot/blob/main/CHANGES.md","tags":["x_refsource_MISC"],"url":"https://github.com/miguelgrinberg/microdot/blob/main/CHANGES.md"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a8f962001c7df0737e97ddafa5c9964f807283c81d0ba623886b9c1af9e3ca9b · sha256:d79178dbb088893f… · /containers/cna/references/2
{"name":"https://github.com/miguelgrinberg/microdot/commit/99b281b45faef8472410f2d56bfef496dfbd95d5","tags":["x_refsource_MISC"],"url":"https://github.com/miguelgrinberg/microdot/commit/99b281b45faef8472410f2d56bfef496dfbd95d5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a8f962001c7df0737e97ddafa5c9964f807283c81d0ba623886b9c1af9e3ca9b · sha256:d79178dbb088893f… · /containers/cna/references/1
{"name":"https://github.com/miguelgrinberg/microdot/security/advisories/GHSA-7wc8-wvc4-m498","tags":["x_refsource_CONFIRM"],"url":"https://github.com/miguelgrinberg/microdot/security/advisories/GHSA-7wc8-wvc4-m498"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a8f962001c7df0737e97ddafa5c9964f807283c81d0ba623886b9c1af9e3ca9b · sha256:d79178dbb088893f… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.