CVEvulnerability
CVE-2022-25349
5.4 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-05-01
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- CVSS 3.1 ([email protected])
- 5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-79
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 configurations
• materializecss materialize
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/Dogfalo/materialize/blob/v1-dev/js/autocomplete.js%23L285%20 Broken Link
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2766498 Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-MATERIALIZECSS-2324800 Exploit, Third Party Advisory
- https://github.com/Dogfalo/materialize/blob/v1-dev/js/autocomplete.js%23L285%20 Broken Link
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2766498 Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-MATERIALIZECSS-2324800 Exploit, Third Party Advisory