CVE-2022-25349

NameCVE-2022-25349
DescriptionAll 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1014727

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
materialize (PTS)sid1.1.0~alpha+ds-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
materializesource(unstable)(unfixed)1014727

Notes

https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2766498
https://security.snyk.io/vuln/SNYK-JS-MATERIALIZECSS-2324800
https://github.com/materializecss/materialize/blob/main/js/autocomplete.js#L310
https://github.com/Dogfalo/materialize/blob/v1-dev/js/autocomplete.js#L285

Search for package or bug name: Reporting problems