Xss
import type { Xss } from "https://googleapis.deno.dev/v1/websecurityscanner:v1.ts";
Information reported for an XSS.
interface Xss {
attackVector?:
| "ATTACK_VECTOR_UNSPECIFIED"
| "LOCAL_STORAGE"
| "SESSION_STORAGE"
| "WINDOW_NAME"
| "REFERRER"
| "FORM_INPUT"
| "COOKIE"
| "POST_MESSAGE"
| "GET_PARAMETERS"
| "URL_FRAGMENT"
| "HTML_COMMENT"
| "POST_PARAMETERS"
| "PROTOCOL"
| "STORED_XSS"
| "SAME_ORIGIN"
| "USER_CONTROLLABLE_URL";
errorMessage?: string;
stackTraces?: string[];
storedXssSeedingUrl?: string;
}§Properties
§
attackVector?: "ATTACK_VECTOR_UNSPECIFIED" | "LOCAL_STORAGE" | "SESSION_STORAGE" | "WINDOW_NAME" | "REFERRER" | "FORM_INPUT" | "COOKIE" | "POST_MESSAGE" | "GET_PARAMETERS" | "URL_FRAGMENT" | "HTML_COMMENT" | "POST_PARAMETERS" | "PROTOCOL" | "STORED_XSS" | "SAME_ORIGIN" | "USER_CONTROLLABLE_URL"
[src]The attack vector of the payload triggering this XSS.