Gentoo Logo

KHTML: Cross-site scripting (XSS) vulnerability


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200703-10 / kdelibs
Release Date March 10, 2007
Latest Revision March 10, 2007: 01
Impact low
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
kde-base/kdelibs < 3.5.5-r8 >= 3.5.5-r8 All supported architectures

Related bugreports: #165606


The KHTML component shipped with the KDE libraries is prone to a cross-site scripting (XSS) vulnerability.

2.  Impact Information


KDE is a feature-rich graphical desktop environment for Linux and Unix-like Operating Systems. KHTML is the HTML interpreter used in Konqueror and other parts of KDE.


The KHTML code allows for the execution of JavaScript code located inside the "Title" HTML element, a related issue to the Safari error found by Jose Avila.


When viewing a HTML page that renders unsanitized attacker-supplied input in the page title, Konqueror and other parts of KDE will execute arbitrary JavaScript code contained in the page title, allowing for the theft of browser session data or cookies.

3.  Resolution Information


There is no known workaround at this time.


All KDElibs users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=kde-base/kdelibs-3.5.5-r8"

4.  References


Page updated March 10, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.