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.
{
"cwe_ids": [
"CWE-79"
],
"github_reviewed_at": "2022-05-03T21:09:12Z",
"github_reviewed": true,
"severity": "MODERATE",
"nvd_published_at": "2022-05-01T16:15:00Z"
}