cross-site scripting
Home > Software Quality Glossary > Definition - cross-site scripting
EMAIL THIS
Glossary - powered by WhatIs.com
 BROWSE ALPHABETICALLY:    A B C D E F G H I J K L M N O P Q R S T U V W X Y Z #    

cross-site scripting
Cross-site scripting (XSS) is a security exploit in which the attacker inserts malicious coding into a link that appears to be from a trustworthy source. When someone clicks on the link, the embedded programming is submitted as part of the client's Web request and can execute on the user's computer, typically allowing the attacker to steal information.

Web forms that dynamically return an error message including user input data make it possible for attackers to alter the HTML that controls the behavior of the form and/or the page. Attackers do this in a number of ways, for example by inserting coding into a link in a forum message or in a spam message. The attacker may use e-mail spoofing to pretend to be a trusted source.

Like other Web-based exploits, such as SQL injection, much of the blame for cross-site scripting is placed on the insecure applications that make it possible. Web server applications that generate pages dynamically are vulnerable to a cross-site scripting exploit if they fail to validate user input and to ensure that pages generated are properly encoded. A vulnerability that enables cross-site scripting is sometimes referred to as an XSS hole.

To protect against cross-site scripting, experts recommend that Web applications should include appropriate security mechanisms and servers should validate input as a matter of course.

See also: application security, phishing, session hijacking

Read more about it:
>>  SearchSecurity.com provides more information in "Anatomy of a hack."
>>  SPI Dynamics offers a tutorial on cross-site scripting.
>>  CGI Security provides a cross-site scripting FAQ list.

Last updated on: Apr 14, 2008

WHITE PAPERS  
The Path to Securing Enterprise Desktops: From Personal Computers to Personalized Computing
VMware, Inc.

Move Web Application Security Testing into Your Development Cycle
IBM

Microsoft Application Virtualization (App-V) 4.5 ADM Template
Microsoft

5 Steps toward Disaster Preparedness
Cisco Systems, Inc.

Virtual Seminar: Managing Threats, Vulnerabilities & SIM
SearchSecurity.com

>> More White Papers
  WHAT'S NEW
 1. Optimizing Performance in the Enterprise
 2. Requirements gathering techniques
 3. Handbook of Agile Software Craftsmanship
 4. Software testing fundamentals


About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2006 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts