logo

CWE-80 - Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

CWE-80 High

  • Abstraction:
  • Variant
  • Structure:
  • Simple
  • Status:
  • Incomplete
Weakness Name

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

Description

The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages.

This may allow such characters to be treated as control characters, which are executed client-side in the context of the user's session. Although this can be classified as an injection problem, the more pertinent issue is the improper conversion of such special characters to respective context-appropriate entities before displaying them to the user.

Common Consequences

Scope: Confidentiality, Integrity, Availability

Impact: Read Application Data, Execute Unauthorized Code or Commands

Related Weaknesses
  • Release Date:
  • 2006-07-19
  • Latest Modification Date:
  • 2023-06-29

Free security scan for your website