Vulnerability · Published May 1, 2022 · Assigned by snyk

CVE-2022-25349Cross-site Scripting (XSS)

Medium 5.4

In plain English

A medium-severity security flaw in materialize-css. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities).

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)1.0%top 35.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
npmmaterialize-cssno fix listedGHSA-7jvx-f994-rfw2

Affected products (as reported)

VendorProductVersions
n/a materialize-css 0 – before unspecified

References