CVE-2008-6059 in Webkit
xml/XMLHttpRequest.cpp in WebCore in WebKit before r38566 does not properly restrict access from web pages to the (1) Set-Cookie and (2) Set-Cookie2 HTTP response headers, which allows remote attackers to obtain sensitive information from cookies via XMLHttpRequest calls, related to the HTTPOnly protection mechanism.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Webkit | Webkit | All versions |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
xml/XMLHttpRequest.cpp in WebCore in WebKit before r38566 does not properly restrict access from web pages to the (1) Set-Cookie and (2) Set-Cookie2 HTTP response headers, which allows remote attackers to obtain sensitive information from cookies via XMLHttpRequest calls, related to the HTTPOnly protection mechanism.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2008-6059 |
|---|---|
| BreachSpider ID | BS-2009-GLOBAL-082401-M |
| CVSS vector | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| Published | 2009-02-05 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-264: Permissions, Privileges, and Access Controls
Broad class covering failures in permission enforcement. Deprecated in favor of CWE-284, CWE-862, CWE-863.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2009. A medium severity vulnerability affects Webkit systems (CVE-2008-6059). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: xml/XMLHttpRequest.cpp in WebCore in WebKit before r38566 does not properly restrict access from web pages to the (1) Set-Cookie and (2) Set-Cookie2 HTTP response headers, which allows remote attackers to obtain sensitive information from cookies via XMLHttpRequest calls, related to the HTTPOnly protection mechanism. CVSS vector: AV:N/AC:L/Au:N/C:P/I:N/A:N.
Questions
What is CVE-2008-6059?
This vulnerability was disclosed in 2009. A medium severity vulnerability affects Webkit systems (CVE-2008-6059). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2008-6059?
CVE-2008-6059 has CVSS 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N. EPSS: 1.9%.
Is CVE-2008-6059 actively exploited?
No confirmed active exploitation of CVE-2008-6059 as of 2026-09-25.
How do I remediate CVE-2008-6059?
Priority: MONITOR.
What systems are affected by CVE-2008-6059?
CVE-2008-6059 affects Webkit Webkit.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Webkit","product":"Webkit","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.