GHSA-crfx-5phg-hmw9 Cross-Site Scripting in ids-enterprise
Attackers can execute arbitrary JavaScript via unencoded script tags in the soho-autocomplete component, requiring user interaction.
- 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 GHSA-crfx-5phg-hmw9?
GHSA-crfx-5phg-hmw9 is a cross-site scripting vulnerability in ids-enterprise, published on 13 Jun 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
Versions of ids-enterprise prior to 4.18.2 are vulnerable to Cross-Site Scripting (XSS). Script tags in the soho-autocomplete component are not properly encoded and may allow attackers to execute arbitrary JavaScript.
Recommendation
Upgrade to version 4.18.2 or later
Which versions are affected by GHSA-crfx-5phg-hmw9?
2 open source packages ship an affected version, including ids-enterprise.
| Package | Affected | Fixed in |
|---|---|---|
ids-enterprise npm | All versions | 4.18.2 |
ids-enterprise npm | All versions | 4.18.2 |
How do I fix GHSA-crfx-5phg-hmw9?
Upgrade ids-enterprise to 4.18.2 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 GHSA-crfx-5phg-hmw9 being exploited?
There is no known exploitation of GHSA-crfx-5phg-hmw9 in the wild and no public exploit code.