CVE-2022-25349
MEDIUM5.4EPSS 0.30%materialize-css vulnerable to cross-site Scripting (XSS) due to improper escape of user input
Published: 5/3/2022Modified: 11/8/2023
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.
Affected packages (1)
- npm/materialize-cssfrom 0, <= 1.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |