CVE-2017-16009 XSS via Angular Expression in ag-grid

Medium 6.1 Published Updated

Attackers can execute arbitrary scripts in user browsers via Angular expressions when using ag-grid with AngularJS.

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-2017-16009?

CVE-2017-16009 is a medium-severity cross-site scripting vulnerability in HackerOne ag-grid node module, published on 4 Jun 2018. 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

ag-grid is an advanced data grid that is library agnostic. ag-grid is vulnerable to Cross-site Scripting (XSS) via Angular Expressions, if AngularJS is used in combination with ag-grid.

Weakness: CWE-79

Which versions are affected by CVE-2017-16009?

2 open source packages ship an affected version, including ag-grid. It affects 1 product.

PackageAffectedFixed in
ag-grid npmAll versions to 18.1.3-beta.1None
ag-grid npmAll versions to 18.1.3-beta.1None

Products include Ag-Grid Ag-Grid.

How do I fix CVE-2017-16009?

No fix has been published for CVE-2017-16009 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-2017-16009 being exploited?

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

Sources

Also known as GHSA-wfw3-rgfr-6g67.

Is CVE-2017-16009 in your software?

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

Check your SBOMs for free