CVE-2019-11003 Materialize-css vulnerable to Cross-site Scripting in autocomplete component

Medium 6.1 Published Updated

Cross-site scripting vulnerability in Materialize allows attackers to execute arbitrary scripts via the Autocomplete feature.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2019-11003?

CVE-2019-11003 is a medium-severity cross-site scripting vulnerability in n/a, published on 8 Apr 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

In Materialize through 1.0.0, XSS is possible via the Autocomplete feature.

Weakness: CWE-79

Which versions are affected by CVE-2019-11003?

4 open source packages ship an affected version, including @materializecss/materialize and materialize-css. It affects 1 product.

PackageAffectedFixed in
@materializecss/materialize npmAll versions1.1.0-alpha
@materializecss/materialize npmAll versions1.1.0-alpha
materialize-css npmAll versions to 1.0.0None
materialize-css npmAll versions to 1.0.0None

Products include Materializecss Materialize.

How do I fix CVE-2019-11003?

Upgrade @materializecss/materialize to 1.1.0-alpha or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2019-11003 being exploited?

There is no known exploitation of CVE-2019-11003 in the wild and no public exploit code.

Sources

Also known as GHSA-7752-f4gf-94gc.

Is CVE-2019-11003 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free