GitHub Advisoryadvisory · npm
GHSA-7jvx-f994-rfw2 materialize-css vulnerable to cross-site Scripting (XSS) due to improper escape of user input
MEDIUM
Official page ↗
- Aliases
- CVE-2022-25349
- Ecosystem
- npm
- Packages
- materialize-css
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2022-05-03
Affected packages
• npm materialize-css: <= 1.0.0 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2022-25349 All versions of package materialize-css are vulnerable to Cross-site Scripting (XSS) due to improper escape of user input (such as… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness