Vulnerability Details : 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 <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.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2022-25349
- cpe:2.3:a:materializecss:materialize:*:*:*:*:*:*:node.js:*
Exploit prediction scoring system (EPSS) score for CVE-2022-25349
0.08%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 34 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-25349
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:P/A:N |
8.6
|
2.9
|
NIST | |
5.4
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
2.8
|
2.5
|
NIST | |
5.4
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
2.8
|
2.5
|
Snyk |
CWE ids for CVE-2022-25349
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-25349
-
https://github.com/Dogfalo/materialize/blob/v1-dev/js/autocomplete.js%23L285%20
Page not found · GitHub · GitHubBroken Link
-
https://snyk.io/vuln/SNYK-JS-MATERIALIZECSS-2324800
Cross-site Scripting (XSS) in materialize-css | CVE-2022-25349 | SnykExploit;Third Party Advisory
-
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2766498
Cross-site Scripting (XSS) in org.webjars.npm:materialize-css | CVE-2022-25349 | SnykExploit;Third Party Advisory
Jump to