GitHub Advisory Database
GHSA-7752-f4gf-94gc
Materialize-css vulnerable to Cross-site Scripting in autocomplete component
Details
All versions of materialize-css are vulnerable to Cross-Site Scripting. The autocomplete component does not sufficiently sanitize user input, allowing an attacker to execute arbitrary JavaScript code if the malicious input is rendered by a user.
Recommendation
No fix is currently available. Consider using an alternative module until a fix is made available.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | materialize-css | All versions up to and including 1.0.0 |
| npm | @materializecss/materialize | All versions before 1.1.0-alpha (fixed in 1.1.0-alpha) |