CVE Explorer
CVE-2026-16729
undici's setCookie function does not fully sanitize cookie attributes. In undici before 6.28.0, from 7.0.0 up to before 7.29.0, and from 8.0.0 up to before 8.9.0, a domain value is not checked for semicolons and entries in the unparsed array are not sanitized, so attacker-influenced input can inject additional cookie attributes. For example, a domain value containing a semicolon can append attributes such as SameSite, and an unparsed entry can inject attributes such as HttpOnly, without the call
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","packageURL":"pkg:npm/undici","product":"undici","vendor":"undici","versions":[{"lessThan":"6.28.0","status":"affected","version":"0","versionType":"semver"},{"status":"unaffected","version":"6.28.0","versionType":"semver"},{"lessThan":"7.29.0","status":"affected","version":"7.0.0","versionType":"semver"},{"status":"unaffected","version":"7.29.0","versionType":"semver"},{"lessThan":"8.9.0","status":"affected","version":"8.0.0","versionType":"semver"},{"status":"unaffected","version":"8.9.0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:63817d0f2f231834e5987be7d25b1403092640f3ad99dcb99184064b9989d29d · sha256:7a8ed69a51059975… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":4.8,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:63817d0f2f231834e5987be7d25b1403092640f3ad99dcb99184064b9989d29d · sha256:7a8ed69a51059975… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-74","description":"CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:63817d0f2f231834e5987be7d25b1403092640f3ad99dcb99184064b9989d29d · sha256:7a8ed69a51059975… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"url":"https://cna.openjsf.org/security-advisories.html"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:63817d0f2f231834e5987be7d25b1403092640f3ad99dcb99184064b9989d29d · sha256:7a8ed69a51059975… · /containers/cna/references/1
{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-v3r7-h72x-cjcm"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:63817d0f2f231834e5987be7d25b1403092640f3ad99dcb99184064b9989d29d · sha256:7a8ed69a51059975… · /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.