Vulnerability library
Security checkFebruary 01, 2023

materialize-css vulnerable to cross-site Scripting (XSS) due to improper escape of user input

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

Medium severitynpmmaterialize-css

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 package materialize-css are vulnerable to Cross-site Scripting (XSS) due to improper escape of user input (such as <not-a-tag />) that is being parsed as HTML/JavaScript, and inserted into the Document Object Model (DOM). This vulnerability can be exploited when the user-input is provided to the autocomplete component.

Recommendation

No fix is available yet. Followings are affected versions:

  • <= 1.0.0

References

Could your website be exposed too?

SmartScanner can check your website for materialize-css vulnerable to cross-site Scripting (XSS) due to improper escape of user input and gives you actionable findings to investigate.

Start a free scan

Related Issues

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