GHSA-hpfq-8wx8-cgqw Cross-Site Scripting in ids-enterprise
Attackers can execute arbitrary JavaScript via unsanitized modal titles in the ids-enterprise library, requiring user interaction to trigger.
- 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-hpfq-8wx8-cgqw?
GHSA-hpfq-8wx8-cgqw 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). The modal component fails to sanitize input to the title attribute, which may allow attackers to execute arbitrary JavaScript.
Recommendation
Upgrade to version 4.18.2 or later
Which versions are affected by GHSA-hpfq-8wx8-cgqw?
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-hpfq-8wx8-cgqw?
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-hpfq-8wx8-cgqw being exploited?
There is no known exploitation of GHSA-hpfq-8wx8-cgqw in the wild and no public exploit code.