ADVISORIES

GitHub Advisory Database

GHSA-7jvx-f994-rfw2

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

Moderate No fix available CVE-2022-25349

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

EcosystemPackageAffected versions
npmmaterialize-css
All versions up to and including 1.0.0

References