Copperchips's picture
Copperchips
2 Boards 28 Marks 0 Likes 0 Followers 0 Following 0 Unfollowers 1 view

Marked 3 years 2 months ago onto Copperchips

How To Fix Cross Site Scripting Persistent In Java | Copperchips

Source: https://copperchips.com/how-to-fix-cross-site-scripting-persistent-in-java/

How To Fix Cross Site Scripting Persistent In Java | Copperchips

Before we jump to cross-site scripting or XSS it is vital to understand a core security feature called Same Origin Policy (SOP) so that we are on the same page. SOP is a policy that stops one website from reading or writing data. The policy essentially checks for three different things in the origin- Protocol, Host, Port. If all the three are the same for two different origins then the browser allows cross-origin read or write. This is a great feature ensuring some basic web security.

But what if we had control over the Javascript of another website? We know that Javascript has access to HTML documents that are provided by the browser. This means one can manipulate the DOM and deface the webpage. Hence, having access to Javascript on another website in a different user's context can be very problematic. But now the question is can we inject some Javascript into another website? Yes, we can and that's exactly what Cross-Site Scripting or XSS does.

What is Cross-Site Scripting?
Cross-Site Scripting is nothing but a Javascript injection technique. In this, attackers aim to carry out any actions that the user can perform and also, access the user's data. If by any chance, the victim possesses premium access, then attackers might be able to control the application's functionality and data.

There are two types of Cross-Site Scripting attacks namely-

Nonpersistent or Reflected XSS.
Persistent or Stored XSS.

Category: 
Comments
Leave your comment below

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Non-latin text (e.g., å, ö, 漢) will be converted to US-ASCII equivalents (a, o, ?).
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Marked onto the category

Technology

Industrial Hygiene Solutions for Workplace Safety MonitoringThe Best Low-Code Automation Platforms of 2023 | ScadeaHow to Set up QuickBooks Workforce for your QuickBooks Desktop?How to Build A Successful Crowdfunding App: Must-Have Features and Approach - nimbleappgenieHow Much Does it Cost to Make an E-learning App?Top 7 Apps Built with Node.js - InfoStrideComcast Internet Essentials | Xfinity Internet Essentials
Originally Marked by

Copperchips

We Provide Top Product Engineering Development Services | Copperchips
ReactJs 18 RC Version Out Read To Know The Distinguishing Features
Key Differences Between NextJS And React | Copperchips
How To Monetize a ReactJS Application? | Copperchips
Providing Best UI/UX Design or Development Services | Copperchips
Which one is best among BigCommerce And Shopify for projects?
Marked onto the board

Copperchips

Why You Should Integrate Efficient UI/UX immediately? | Copperchips
We Provide Top Product Engineering Development Services | Copperchips
Providing Best UI/UX Design or Development Services | Copperchips
We Are Providing Best Shopify Development Services | Copperchips
Is it compulsory to create a website with REACT JS or can I just stick with HTML CSS and Javascript? | Website
We Provide Best Quality Engineering Service For Clients | Copperchips
Navigation
User login
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Recent comments
Latest tweets
Who's online

There are currently 2 users online.

Scroll to top