Microsoft Download Center Archive

Microsoft Anti-Cross Site Scripting Library V4.2

  • Published:
  • Version: 4.2.1
  • Category: Security Patch
  • Language: English

AntiXSS 4.2.1 helps you to protect your applications from cross-site scripting attacks.

  • The Microsoft Anti-Cross Site Scripting Library V4.2 (AntiXSS V4.2) is an encoding library designed to help developers protect their ASP.NET web-based applications from XSS attacks. It differs from most encoding libraries in that it uses the white-listing technique -- sometimes referred to as the principle of inclusions -- to provide protection against XSS attacks. This approach works by first defining a valid or allowable set of characters, and encodes anything outside this set (invalid characters or potential attacks). The white-listing approach provides several advantages over other encoding schemes.

    This release addresses a vulnerability in the HTML Sanitizer, MS12-007 and adds full support for .NET 4.0 as well as restoring support for .NET 2.0.
Knowledge Base Articles:
Security Bulletins:

Files

Status: Deleted

This download is no longer available on microsoft.com. The downloads below are archives provided by the Internet Archive Wayback Machine from the Microsoft Download Center prior to August 2020.

FileSize
AntiXss 4.2.1.msi
SHA1: 3b86464252f3a86d0d66fc310d85299735275f67
647 KB
AntiXSS v4.2.docx
SHA1: 3c4ee9932691726674f366ec61b4be16dd8178c6
41 KB

System Requirements

Operating Systems: Windows 7, Windows Server 2003, Windows Server 2008, Windows Vista, Windows XP

  • Microsoft Windows running .NET Framework 2.0 or later

Installation Instructions

    1. To start the download, click the Download button and then do one of the following, or select another language from Change Language and then click Change.
      • Click Run to start the installation immediately.
      • Click Save to copy the download to your computer for installation at a later time.
    2. The installer will create a directory structure containing the library and documentation.
    3. Reference the library in your application and use it.

Related Resources