Back to Glossary

Cross-Site Scripting (XSS)

A vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users.

vulnerabilityinjectionbrowser security

Cross-site scripting (XSS) is a type of injection attack where malicious scripts are injected into otherwise trusted websites. XSS attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser-side script, to a different end user. There are three main types: Stored XSS (persisted in the database), Reflected XSS (included in the HTTP response), and DOM-based XSS (executed through client-side JavaScript).

XSS can be used to steal session cookies, redirect users to malicious sites, deface web pages, or perform actions on behalf of authenticated users. APVISO tests for all three XSS variants using context-aware payload generation.

Test your applications for cross-site scripting (xss) vulnerabilities

APVISO's AI agents automatically test for this and many more vulnerability categories.

Start Testing Free