CWE - 79 : Failure to Preserve Web Page Structure ('Cross-site Scripting')
|
CWE Definition
|
http://cwe.mitre.org/data/definitions/79.html
|
|
Number of vulnerabilities:
|
4122
|
|
Description
|
The software does not sufficiently validate, filter, escape,
and/or encode user-controllable input before it is placed in output that is used
as a web page that is served to other users.Cross-site scripting (XSS) vulnerabilities occur when: |
|
Background Details
|
The same origin policy states that browsers should limit the resources
accessible to scripts running on a given web site , or "origin", to the
resources associated with that web site on the client-side, and not the
client-side resources of any other sites or "origins". The goal is to
prevent one site from being able to modify or read the contents of an
unrelated site. Since the World Wide Web involves interactions between many
sites, this policy is important for browsers to enforce. |
|
Other Notes
|
|
|
|
Warning! CWE definitions are provided as a quick reference. They are
not complete and may not be up to date!
You must visit
http://cwe.mitre.org/ for a complete list of CWE entries
and for more details.