Vulnerability library
Security checkFebruary 03, 2023

Leading white space bypasses protocol validation

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmurijs

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Whitespace characters are not removed from the beginning of the protocol, so URLs are not parsed properly and protocol validation mechanisms may fail.

Recommendation

Update the urijs package to the latest compatible version. Followings are version details:

  • Affected version(s): < 1.19.9
  • Patched version(s): 1.19.9

References

Could your website be exposed too?

SmartScanner can check your website for Leading white space bypasses protocol validation and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated February 03, 2023