GitHub Advisory Database
GHSA-7jvx-f994-rfw2
materialize-css vulnerable to cross-site Scripting (XSS) due to improper escape of user input
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | materialize-css | All versions up to and including 1.0.0 |