XSS in Materializecss Materialize
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 class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.010 (62.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 63rd percentile — 62.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.010 · change: +0.000
Affected products
- Materializecss Materialize
- Materialize-Css — versions 0
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-JS-MATERIALIZECSS-2324800 (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2766498 (Exploit, Third Party Advisory)
- github.com/Dogfalo/materialize/blob/v1-dev/js/autocomplete.js#L285 (Broken Link)
Frequently asked questions
- What is CVE-2022-25349?
- CVE-2022-25349 is a medium-severity vulnerability in Materializecss Materialize, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2022-05-01.
- How severe is CVE-2022-25349?
- Medium severity. CVSS v3 base score is 5.4 out of 10.