CVE-2018-7603 Search Autocomplete

Medium 6.1 Published Updated

An attacker can inject malicious scripts via autocomplete items in the Drupal Search Autocomplete module, potentially executing code in victim browsers.

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
None listed

What is CVE-2018-7603?

CVE-2018-7603 is a medium-severity cross-site scripting vulnerability in Drupal 3rd party module - Search Autocomplete, published on 15 Jan 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 Drupal's 3rd party module search auto complete prior to versions 7.x-4.8 there is a Cross Site Scripting vulnerability. This Search Autocomplete module enables you to autocomplete textfield using data from your website (nodes, comments, etc.). The module doesn't sufficiently filter user-entered text among the autocompletion items leading to a Cross Site Scripting (XSS) vulnerability. This vulnerability can be exploited by any user allowed to create one of the autocompletion item, for instance, nodes, users, comments.

Weakness: CWE-79

Which versions are affected by CVE-2018-7603?

It affects 1 product.

Products include Search Autocomplete Project Search Autocomplete.

How do I fix CVE-2018-7603?

No fix has been published for CVE-2018-7603 yet. Limit exposure of the affected software until one is available.

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-2018-7603 being exploited?

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

Sources

Also known as GHSA-jhjp-3hp8-fjch.

Is CVE-2018-7603 in your software?

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

Check your SBOMs for free