Detailedlikelihood: Highseverity: HighDraft

CAPEC-199XSS Using Alternate Syntax

Abstraction
Detailed
Status
Draft
Likelihood
High
Severity
High

Description

An adversary uses alternate forms of keywords or commands that result in the same action as the primary form but which may not be caught by filters. For example, many keywords are processed in a case insensitive manner. If the site's web filtering algorithm does not convert all tags into a consistent case before the comparison with forbidden keywords it is possible to bypass filters (e.g., incomplete black lists) by using an alternate case structure. For example, the "script" tag using the alternate forms of "Script" or "ScRiPt" may bypass filters where "script" is the only form tested. Other variants using different syntax representations are also possible as well as using pollution meta-characters or entities that are eventually ignored by the rendering engine. The attack can result in the execution of otherwise prohibited functionality.

Related weaknesses· 1

CWE-87

Related attack patterns· 3

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

Exploits1

TypeTargetConfidenceTier
WeaknessImproper Neutralization of Alternate XSS Syntaxcwe-87100%live

Related by meaning· 6

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

CAPEC
XSS Using Invalid Characters
CAPEC
XSS Using Doubled Characters
CAPEC
Cross-Site Scripting (XSS)
CAPEC
XSS Targeting Non-Script Elements
CAPEC
XSS Targeting HTML Attributes
CAPEC
XSS Using MIME Type Mismatch
Sourced from MITRE CAPEC. Curated by Adam Lundqvist, SQUR.