CVE-2019-10215 Cross-site scripting in bootstrap3-typeahead.js

Medium 6.1 Published Updated

An attacker can execute arbitrary code in a user's browser via a cross-site scripting flaw in the highlighter function of the Bootstrap-3-Typeahead library.

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-10215?

CVE-2019-10215 is a medium-severity cross-site scripting vulnerability in Red Hat bootstrap3-typeahead.js, published on 8 Oct 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

Bootstrap-3-Typeahead after version 4.0.2 is vulnerable to a cross-site scripting flaw in the highlighter() function. An attacker could exploit this via user interaction to execute code in the user's browser.

Weakness: CWE-79

Which versions are affected by CVE-2019-10215?

It affects 1 product.

Linux distribution packages (1)
golang-github-prometheus-prometheus SUSE:Enterprise Storage 6All versions2.18.0-3.3.1

Products include Bootstrap-3-Typeahead Project Bootstrap-3-Typeahead.

How do I fix CVE-2019-10215?

Upgrade to a fixed version.

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-10215 being exploited?

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

Sources

Also known as SUSE-SU-2020:2606-1.

Is CVE-2019-10215 in your software?

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

Check your SBOMs for free