Detailedlikelihood: Highseverity: Very HighStable

CAPEC-588DOM-Based XSS

Abstraction
Detailed
Status
Stable
Likelihood
High
Severity
Very High

Description

This type of attack is a form of Cross-Site Scripting (XSS) where a malicious script is inserted into the client-side HTML being parsed by a web browser. Content served by a vulnerable web application includes script code used to manipulate the Document Object Model (DOM). This script code either does not properly validate input, or does not perform proper output encoding, thus creating an opportunity for an adversary to inject a malicious script launch a XSS attack. A key distinction between other XSS attacks and DOM-based attacks is that in other XSS attacks, the malicious script runs when the vulnerable web page is initially loaded, while a DOM-based attack executes sometime after the page loads. Another distinction of DOM-based attacks is that in some cases, the malicious script is never sent to the vulnerable web server at all. An attack like this is guaranteed to bypass any server-side filtering attempts to protect users.

Related weaknesses· 3

CWE-79CWE-20CWE-83

Related attack patterns· 1

CAPEC-63 (ChildOf)

Exploits3

TypeTargetConfidenceTier
WeaknessImproper Neutralization of Script in Attributes in a Web Pagecwe-83100%live
WeaknessImproper Neutralization of Input During Web Page Generation ('Cross-site Scripting')cwe-79100%live
WeaknessImproper Input Validationcwe-20100%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CAPEC
XSS Targeting Non-Script Elements
CAPEC
Cross-Site Scripting (XSS)
CAPEC
Reflected XSS
CAPEC
XSS Through HTTP Query Strings
CAPEC
XSS Through HTTP Headers
CAPEC
Stored XSS
Sourced from MITRE CAPEC. Curated by Adam Lundqvist, SQUR.