# 跨站脚本（XSS）

简单地说，XSS是最重要的漏洞之一。它既非常常见又非常强大，特别是当它被用作更广泛的利用链的一部分时。这是一个巨大的主题，为完全的初学者和经验丰富的专业人士提供了大量的实验。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://web-sec.gitbook.io/wsa/client-side/cross-site-scripting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
