GHSA-98f7-p5rc-jx67
Materialize-css vulnerable to Cross-site Scripting in tooltip component
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | materialize-css | <= 1.0.0 | no fix listed |
| npm | @materializecss/materialize | < 1.1.0-alpha | 1.1.0-alpha |
Details
As written in the advisory (Markdown source, shown as plain text).
All versions of `materialize-css` are vulnerable to Cross-Site Scripting. The `tooltip` 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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2019-11002
- https://github.com/Dogfalo/materialize/issues/6286
- https://github.com/materializecss/materialize/pull/49
- https://github.com/Dogfalo/materialize
- https://github.com/advisories/GHSA-98f7-p5rc-jx67
- https://snyk.io/vuln/SNYK-JS-MATERIALIZECSS-174148
- https://www.npmjs.com/advisories/818