CVE-2019-11003 Materialize-css vulnerable to Cross-site Scripting in autocomplete component
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.
| Package | Affected | Fixed in |
|---|---|---|
@materializecss/materialize npm | All versions | 1.1.0-alpha |
@materializecss/materialize npm | All versions | 1.1.0-alpha |
materialize-css npm | All versions to 1.0.0 | None |
materialize-css npm | All versions to 1.0.0 | None |
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.
Other vulnerabilities in n/a
Sources
Also known as GHSA-7752-f4gf-94gc.