Vulnerability library
Security checkJanuary 30, 2023

Cross-site Scripting (XSS) in serve-lite

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

Medium severitynpmserve-lite

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

All versions of the package serve-lite are vulnerable to Cross-site Scripting (XSS) because when it detects a request to a directory, it renders a file listing of all of its contents with links that include the actual file names without any sanitization or output encoding.

Recommendation

No fix is available yet. Followings are affected versions:

  • <= 1.1.0

References

Could your website be exposed too?

SmartScanner can check your website for Cross-site Scripting (XSS) in serve-lite and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 30, 2023