{"api_version":"1","generated_at":"2026-05-04T09:01:29+00:00","cve":"CVE-2008-6059","urls":{"html":"https://cve.report/CVE-2008-6059","api":"https://cve.report/api/cve/CVE-2008-6059.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2008-6059","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2008-6059"},"summary":{"title":"CVE-2008-6059","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.","state":"PUBLISHED","assigner":"mitre","published_at":"2009-02-05 00:30:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["CWE-264","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"}}],"references":[{"url":"http://trac.webkit.org/changeset/38566/trunk/WebCore/xml/XMLHttpRequest.cpp","name":"http://trac.webkit.org/changeset/38566/trunk/WebCore/xml/XMLHttpRequest.cpp","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Changeset 38566 for trunk/WebCore/xml/XMLHttpRequest.cpp – WebKit","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48575","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48575","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/33804","name":"http://www.securityfocus.com/bid/33804","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"WebKit XMLHttpRequest Cookie Information Disclosure Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://bugs.webkit.org/show_bug.cgi?id=10957","name":"https://bugs.webkit.org/show_bug.cgi?id=10957","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Bug 10957 – HttpOnly Cookie Option","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-6059","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-6059","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2008","cve_id":"6059","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"webkit","cpe5":"webkit","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T11:20:23.927Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugs.webkit.org/show_bug.cgi?id=10957"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://trac.webkit.org/changeset/38566/trunk/WebCore/xml/XMLHttpRequest.cpp"},{"name":"33804","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/33804"},{"name":"webkit-xmlhttprequest-info-disclosure(48575)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48575"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2008-11-18T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-08-07T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"https://bugs.webkit.org/show_bug.cgi?id=10957"},{"tags":["x_refsource_CONFIRM"],"url":"http://trac.webkit.org/changeset/38566/trunk/WebCore/xml/XMLHttpRequest.cpp"},{"name":"33804","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/33804"},{"name":"webkit-xmlhttprequest-info-disclosure(48575)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48575"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2008-6059","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://bugs.webkit.org/show_bug.cgi?id=10957","refsource":"CONFIRM","url":"https://bugs.webkit.org/show_bug.cgi?id=10957"},{"name":"http://trac.webkit.org/changeset/38566/trunk/WebCore/xml/XMLHttpRequest.cpp","refsource":"CONFIRM","url":"http://trac.webkit.org/changeset/38566/trunk/WebCore/xml/XMLHttpRequest.cpp"},{"name":"33804","refsource":"BID","url":"http://www.securityfocus.com/bid/33804"},{"name":"webkit-xmlhttprequest-info-disclosure(48575)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48575"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2008-6059","datePublished":"2009-02-05T00:00:00.000Z","dateReserved":"2009-02-04T00:00:00.000Z","dateUpdated":"2024-08-07T11:20:23.927Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2009-02-05 00:30:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["CWE-264","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:webkit:webkit:*:*:*:*:*:*:*:*","matchCriteriaId":"AB1AB1C4-1E35-44A3-A720-8A7D03FDC203"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2008","CveId":"6059","Ordinal":"1","Title":"CVE-2008-6059","CVE":"CVE-2008-6059","Year":"2008"},"notes":[{"CveYear":"2008","CveId":"6059","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2008-6059"},{"CveYear":"2008","CveId":"6059","Ordinal":"2","NoteData":"2009-02-04","Type":"Other","Title":"Published"},{"CveYear":"2008","CveId":"6059","Ordinal":"3","NoteData":"2017-08-07","Type":"Other","Title":"Modified"}]}}}