Detailedlikelihood: Highseverity: Very HighDraft

CAPEC-18XSS Targeting Non-Script Elements

Abstraction
Detailed
Status
Draft
Likelihood
High
Severity
Very High

Description

This attack is a form of Cross-Site Scripting (XSS) where malicious scripts are embedded in elements that are not expected to host scripts such as image tags (<img>), comments in XML documents (< !-CDATA->), etc. These tags may not be subject to the same input validation, output validation, and other content filtering and checking routines, so this can create an opportunity for an adversary to tunnel through the application's elements and launch a XSS attack through other elements. As with all remote attacks, it is important to differentiate the ability to launch an attack (such as probing an internal network for unpatched servers) and the ability of the remote adversary to collect and interpret the output of said attack.

Related weaknesses· 1

CWE-80

Related attack patterns· 3

CAPEC-591 (ChildOf)CAPEC-592 (ChildOf)CAPEC-588 (ChildOf)

Exploits1

TypeTargetConfidenceTier
WeaknessImproper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)cwe-80100%live

Related by meaning· 6

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

CAPEC
DOM-Based XSS
CAPEC
Cross-Site Scripting (XSS)
CAPEC
XSS Targeting URI Placeholders
CAPEC
XSS Targeting HTML Attributes
CAPEC
XSS Through HTTP Query Strings
CAPEC
XSS Through HTTP Headers
Sourced from MITRE CAPEC. Curated by Adam Lundqvist, SQUR.