GHSA-49r3-3h96-rwj6 Cross-Site Scripting in ids-enterprise

Not scored Published

Attackers can execute arbitrary JavaScript via the soho-dropdown component due to improper output encoding, affecting users of the ids-enterprise 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 GHSA-49r3-3h96-rwj6?

GHSA-49r3-3h96-rwj6 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 soho-dropdown component does not properly encode its output and may allow attackers to execute arbitrary JavaScript.

Recommendation

Upgrade to version 4.18.2 or later

Which versions are affected by GHSA-49r3-3h96-rwj6?

2 open source packages ship an affected version, including ids-enterprise.

PackageAffectedFixed in
ids-enterprise npmAll versions4.18.2
ids-enterprise npmAll versions4.18.2

How do I fix GHSA-49r3-3h96-rwj6?

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-49r3-3h96-rwj6 being exploited?

There is no known exploitation of GHSA-49r3-3h96-rwj6 in the wild and no public exploit code.

Sources

Is GHSA-49r3-3h96-rwj6 in your software?

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

Check your SBOMs for free