---
title: "Prevalent & Pernicious: XSS"
description: Of all the vulnerability, the most widespread and harmful Web application security vulnerability is Cross Site Scripting attacks (XSS). Attacks are us
---

- [Home](https://mydev.netwitness.com/home)
- Integrations 
    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community 
    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers 
    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners 
    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education 
    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support 
    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

![search](https://21725316.fs1.hubspotusercontent-na1.net/hubfs/21725316/Ladder/Image/search.svg)

![search](https://21725316.fs1.hubspotusercontent-na1.net/hubfs/21725316/Ladder/Image/search.svg)

![search](https://21725316.fs1.hubspotusercontent-na1.net/hubfs/21725316/Ladder/Image/search.svg)

![search](https://21725316.fs1.hubspotusercontent-na1.net/hubfs/21725316/Ladder/Image/search.svg)

# Prevalent & Pernicious: XSS

- Home
 */*- [Netwitness blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
*/*- prevalent & pernicious: xss

 20 Sep, 2012

**Author:** RSAAdmin

Of all the vulnerability,the most widespread and harmful Web application security vulnerability is Cross Site Scripting attacks (XSS).

Attacks are usually executed with JavaScript, letting hackers manipulate any aspect of a page. In a worst-case scenario, a hacker could steal information and impersonate a user on a bank’s Web site.

**Example of malicious code**

1. Modification of the Document Object Model - DOM (change some links, add some buttons)
2. Send personal information to thirds (JavaScript can send cookies to other sites)

![xssattack.png](https://mydev.netwitness.com/hubfs/Imported_Blog_Media/32413i372AE9009D99C405.png "xssattack.png")**Three types of Cross Site Scripting**

1. Reflected
2. Stored
3. DOM injection

**Reflected XSS**

1. The easiest exploit.
2. A page will reflect user supplied data directly back to the user

So when the user types:

         He receives an alert in his browserDanger

1. If the URL (containing GET parameters) is delivered by a third to the victim
2. The Victim will access a modified page
3. SSL certificate and security warning are OK!

**Stored XSS**

Hostile Data is taken and stored

1. In a file
2. In a Database
3. In any other backend system

Then Data is sent back to any visitor of the web site Risk when large number of users can see unfiltered content

1. Very dangerous for Content Management Systems (CMS)
2. Blogs
3. Forums

**DOM Based XSS**

1. Document Object Model
2. The document is represented using a tree
3. The tree is rooted with the document node
4. Each tag and text is part of the tree
5. XSS Modifies the Document Object Model (DOM)
6. JavaScript can manipulate all the document
7. It can create new nodes,
8. Remove existing nodes
9. Change the content of some nodes

  ![js.png](https://mydev.netwitness.com/hubfs/Imported_Blog_Media/32462iAFD06C23B3B65444.png "js.png")

**Reducing the threat**

1. Encoding/escaping of string input
2. Safely validating untrusted HTML inputs.
3. Cookie Security.
4. Disabling Scripts
5. Defensive Technologies. (Mozilla Content Security Technologies, JS Sandbox tools, Auto Escaping tools etc)

**Recent XSS Attacks:**

**GoDaddy** recently went down with DOS attack by Anonymous Hacker. After GoDaddy CEO declined any such hacks by anonymous, they again penetrated with XSS hacks.

![anony.png](https://mydev.netwitness.com/hubfs/Imported_Blog_Media/38827i3C353B1D8BFDCD2C.png "anony.png")

 Topic:

[0 Comment](https://mydev.netwitness.com/netwitness-security-llc-blog/prevalent-and-pernicious-xss#comments-listing)

###### CATEGORIES

- All
- [Blog](https://mydev.netwitness.com/netwitness-security-llc-blog/tag/blog)

##### RECENT POST

[Netwitness Platform Integration with AWS Application Load Balancer Access logs](https://mydev.netwitness.com/netwitness-security-llc-blog/netwitnessplatformintegrationwithawsapplicationloadbalanceraccesslogs)

 23 Jul, 2024

[The Sky Is Crying: The Wake of the 19 JUL 2024 CrowdStrike Content Update for Microsoft Windows and We Should Take Away From It](https://mydev.netwitness.com/netwitness-security-llc-blog/715124)

 20 Jul, 2024

[DDoS using BotNet Use Case](https://mydev.netwitness.com/netwitness-security-llc-blog/ddosusingbotnetusecase)

 7 May, 2024

[NetWitness Platform](https://www.netwitness.com/)

[Acceptable Use Policy](https://www.netwitness.com/wp-content/uploads/Acceptable-Use-Policy-092022.pdf) [Privacy Statement](https://www.netwitness.com/wp-content/uploads/NetWitness-Privacy-Statement-07292024.pdf)

![NetWitness Logo](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/netwitness-logo-RGB-white%201.png)

[![LinkedIn](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/linkedin.png)](https://www.linkedin.com/company/netwitness-platform/) [![YouTube](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/Youtube.jpg)](https://www.youtube.com/@netwitness)

© 2026 NetWitness LLC. All rights reserved.

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "RSAAdmin",
    "url" : "https://mydev.netwitness.com/netwitness-security-llc-blog/author/rsaadmin"
  },
  "dateModified" : "2026-03-20T10:29:07.826Z",
  "datePublished" : "2012-09-20T04:00:00.000Z",
  "headline" : "Prevalent & Pernicious: XSS",
  "mainEntityOfPage" : {
    "@id" : "https://mydev.netwitness.com/netwitness-security-llc-blog/prevalent-and-pernicious-xss",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://mydev.netwitness.com/hubfs/netwitness-logo-CMYK.jpg"
    }
  }
}
```