Vulnerability library
Security checkSeptember 11, 2023

auth0-lock vulnerable to XSS via unsanitized placeholder property

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

Medium severitynpmauth0-lock

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Auth0 Lock version 11.20.4 and earlier did not properly sanitize the generated HTML code. Customers using the additionalSignUpFields customization option to add a checkbox to the sign-up dialog that are passing a placeholder property obtained from an untrusted source (e.g.

Recommendation

Update the auth0-lock package to the latest compatible version. Followings are version details:

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

References

Could your website be exposed too?

SmartScanner can check your website for auth0-lock vulnerable to XSS via unsanitized placeholder property and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated September 11, 2023