Executive Summary

This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Title Apple Safari vulnerable to xss via the processing of JavaScript URLs
Name VU#766019 First vendor Publication 2008-03-19
Vendor VU-CERT Last vendor Modification 2008-03-19
Severity (Vendor) N/A Revision M

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Cvss Base Score 4.3 Attack Range Network
Cvss Impact Score 2.9 Attack Complexity Medium
Cvss Expoit Score 8.6 Authentication None Required
Calculate full CVSS 2.0 Vectors scores


Vulnerability Note VU#766019

Apple Safari vulnerable to xss via the processing of JavaScript URLs


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

I. Description

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.

II. Impact

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

III. Solution

Apply an update

This issue is addressed in Apple Safari 3.1.

Systems Affected

VendorStatusDate Updated
Apple Computer, Inc.Vulnerable19-Mar-2008




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

Date Public03/18/2008
Date First Published03/19/2008 12:52:00 PM
Date Last Updated03/19/2008
CERT Advisory 
CVE NameCVE-2008-1002
US-CERT Technical Alerts 
Document Revision9

Original Source

Url : http://www.kb.cert.org/vuls/id/766019

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-79 Failure to Preserve Web Page Structure ('Cross-site Scripting') (CWE/SANS Top 25)

CPE : Common Platform Enumeration

Application 16

Open Source Vulnerability Database (OSVDB)

Id Description
43359 Apple Safari Crafted javascript: URL XSS

Nessus® Vulnerability Scanner

Date Description
2008-03-18 Name : The remote host contains a web browser that is affected by several issues.
File : macosx_Safari31.nasl - Type : ACT_GATHER_INFO