PT-2022-17230 · Unknown · Materialize-Css

Paul Wheeler

·

Published

2022-05-01

·

Updated

2022-05-11

·

CVE-2022-25349

CVSS v3.1

5.4

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions materialize-css versions (all versions)
Description The issue arises from improper escape of user input, such as <not-a-tag />, which is then parsed as HTML/JavaScript and inserted into the Document Object Model (DOM). This can lead to Cross-site Scripting (XSS) when user-input is provided to the autocomplete component.
Recommendations For all versions, consider disabling the autocomplete component until a proper fix is implemented to escape user input correctly. Restrict the parsing of user-input as HTML/JavaScript to minimize the risk of exploitation.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-25349
GHSA-7JVX-F994-RFW2
SNYK-JAVA-ORGWEBJARSNPM-2766498
SNYK-JS-MATERIALIZECSS-2324800

Affected Products

Materialize-Css