CWE-86: Improper Neutralization of Invalid Characters in Identifiers in Web Pages
VariantDraft
The product does not neutralize or incorrectly neutralizes invalid characters or byte sequences in the middle of tag names, URI schemes, and other identifiers.
View on MITREBack to CWE Lookup
Extended Description
Some web browsers may remove these sequences, resulting in output that may have unintended control implications. For example, the product may attempt to remove a "javascript:" URI scheme, but a "java%00script:" URI may bypass this check and still be rendered as active javascript by some browsers, allowing XSS or other attacks.
Technical Details
- Structure
- Simple
Applicable To
Not Language-Specific