Skip to main content

Improper Input Validation

CVE-2021-27516

Severity High
Score 7.5/10

Summary

urijs before 1.19.6 fails to validate the hostname correctly when using backslash in the protocol e.g. `http:\/`. Browsers accept backslashes after the protocol and treat it as a normal slash, while urijs before 1.19.6 sees it as a relative path.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • NONE

CWE-20 - Improper Input Validation

The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

Advisory Timeline

  • Published