# Web Security Scanner v1 API - Enum Xss.Types.AttackVector (2.6.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.6.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/latest/Google.Cloud.WebSecurityScanner.V1.Xss.Types.AttackVector)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/2.5.0/Google.Cloud.WebSecurityScanner.V1.Xss.Types.AttackVector)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/2.4.0/Google.Cloud.WebSecurityScanner.V1.Xss.Types.AttackVector)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/2.3.0/Google.Cloud.WebSecurityScanner.V1.Xss.Types.AttackVector)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/2.2.0/Google.Cloud.WebSecurityScanner.V1.Xss.Types.AttackVector)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/2.1.0/Google.Cloud.WebSecurityScanner.V1.Xss.Types.AttackVector)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/2.0.0/Google.Cloud.WebSecurityScanner.V1.Xss.Types.AttackVector)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/1.2.0/Google.Cloud.WebSecurityScanner.V1.Xss.Types.AttackVector)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/1.1.0/Google.Cloud.WebSecurityScanner.V1.Xss.Types.AttackVector)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/1.0.0/Google.Cloud.WebSecurityScanner.V1.Xss.Types.AttackVector)

    public enum Xss.Types.AttackVector

Reference documentation and code samples for the Web Security Scanner v1 API enum Xss.Types.AttackVector.

Types of XSS attack vector.

## Namespace

[Google.Cloud.WebSecurityScanner.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/latest/Google.Cloud.WebSecurityScanner.V1)

## Assembly

Google.Cloud.WebSecurityScanner.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `Cookie` | The attack comes from fuzzing the browser's cookies. |
| `FormInput` | The attack comes from fuzzing an input element. |
| `GetParameters` | The attack comes from fuzzing parameters in the url. |
| `HtmlComment` | The attack comes from fuzzing the HTML comments. |
| `LocalStorage` | The attack comes from fuzzing the browser's localStorage. |
| `PostMessage` | The attack comes from hijacking the post messaging mechanism. |
| `PostParameters` | The attack comes from fuzzing the POST parameters. |
| `Protocol` | The attack comes from fuzzing the protocol. |
| `Referrer` | The attack comes from fuzzing the referrer property. |
| `SameOrigin` | The attack is a Same-Origin Method Execution attack via a GET parameter. |
| `SessionStorage` | The attack comes from fuzzing the browser's sessionStorage. |
| `StoredXss` | The attack comes from the server side and is stored. |
| `Unspecified` | Unknown attack vector. |
| `UrlFragment` | The attack comes from fuzzing the fragment in the url. |
| `UserControllableUrl` | The attack payload is received from a third-party host via a URL that is user-controllable |
| `WindowName` | The attack comes from fuzzing the window's name property. |