1520
While XSS might seem simple to prevent, web browsers vary so widely in how they parse web
pages, that a denylist cannot keep track of all the variations. The "XSS Cheat Sheet" [REF-714]
contains a large number of attacks that are intended to bypass incomplete denylists.
Relationships
The table(s) below shows the weaknesses and high level categories that are related to this
weakness. These relationships are defined as ChildOf, ParentOf, MemberOr and give insight to
similar items that may exist at higher and lower levels of abstraction. In addition, relationships such
as PeerOf and CanAlsoBe are defined to show similar weaknesses that may want to be explored.
Relevant to the view "Research Concepts" (CWE-1000)
Nature Type ID Name Page
ChildOf 184 Incomplete List of Disallowed Inputs 459
Applicable Platforms
Language : Not Language-Specific (Prevalence = Undetermined)
Common Consequences
Scope Impact Likelihood
Confidentiality
Integrity
Availability
Execute Unauthorized Code or Commands
Observed Examples
Reference Description
CVE-2007-5727 Denylist only removes <SCRIPT> tag.
https://www.cve.org/CVERecord?id=CVE-2007-5727
CVE-2006-3617 Denylist only removes <SCRIPT> tag.
https://www.cve.org/CVERecord?id=CVE-2006-3617
CVE-2006-4308 Denylist only checks "javascript:" tag
https://www.cve.org/CVERecord?id=CVE-2006-4308
MemberOf Relationships
This MemberOf relationships table shows additional CWE Catgeories and Views that reference this
weakness as a member. This information is often useful in understanding where a weakness fits
within the context of external information sources.
Nature Type ID Name Page
MemberOf 1409 Comprehensive Categorization: Injection 1400 2535
Related Attack Patterns
CAPEC-ID Attack Pattern Name
71 Using Unicode Encoding to Bypass Validation Logic
80 Using UTF-8 Encoding to Bypass Validation Logic
85 AJAX Footprinting
120 Double Encoding
267 Leverage Alternate Encoding
References
[REF-714]RSnake. "XSS (Cross Site Scripting) Cheat Sheet". < http://ha.ckers.org/xss.html >.
CWE-693: Protection Mechanism Failure
Weakness ID : 693
Structure : Simple
CWE Version 4.14
CWE-693: Protection Mechanism Failure
CWE-693: Protection Mechanism Failure