search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Apple Safari vulnerable to xss via the processing of JavaScript URLs

Vulnerability Note VU#766019

Original Release Date: 2008-03-19 | Last Revised: 2008-03-19


A vulnerability in the way Apple Safari handles JavaScript URLs may allow execution of JavaScript in the context of another site.


Apple Safari contains a vulnerability that may cause a cross-site script injection when processing JavaScript URLs. According to Apple Security Advisory APPLE-SA-2008-03-18:

A cross-site scripting issue exists in the processing of javascript: URLs. Enticing a user to visit a maliciously crafted web page could allow the execution of JavaScript in the context of another site. This update addresses the issue by performing additional validation of javascript: URLs.


This vulnerability may allow an attacker to execute JavaScript in the context of another site.


Apply an update

This issue is addressed in Apple Safari 3.1.

Vendor Information


Apple Computer, Inc. Affected

Updated:  March 19, 2008



Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.


Refer to Apple Security Advisory APPLE-SA-2008-03-18.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

CVSS Metrics

Group Score Vector



This vulnerability was reported in Apple Security Advisory APPLE-SA-2008-03-18. Apple credits Robert Swiecki of Google Information Security Team for reporting this issue.

This document was written by Chris Taschner.

Other Information

CVE IDs: CVE-2008-1002
Severity Metric: 8.91
Date Public: 2008-03-18
Date First Published: 2008-03-19
Date Last Updated: 2008-03-19 17:53 UTC
Document Revision: 10

Sponsored by CISA.