GHSA-hgr5-82rc-p936 Cross-Site Scripting in md-data-table

Not scored Published

Attackers can inject malicious scripts via controlled data rendered by mdt-row, requiring developers to sanitize input or switch libraries.

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 GHSA-hgr5-82rc-p936?

GHSA-hgr5-82rc-p936 is a cross-site scripting vulnerability in md-data-table, published on 1 Sep 2020. 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

All versions of md-data-table are vulnerable to cross-site scripting (XSS). This vulnerability is exploitable if an attacker has control over data that is rendered by mdt-row

Recommendation

As there is no fix for this vulnerability at this time we recommend either selecting another package to perform this functionality or properly sanitizing all user data prior to rendering with md-data-table

Which versions are affected by GHSA-hgr5-82rc-p936?

2 open source packages ship an affected version, including md-data-table.

PackageAffectedFixed in
md-data-table npmFrom 0.0.0None
md-data-table npmFrom 0.0.0None

How do I fix GHSA-hgr5-82rc-p936?

No fix has been published for GHSA-hgr5-82rc-p936 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 GHSA-hgr5-82rc-p936 being exploited?

There is no known exploitation of GHSA-hgr5-82rc-p936 in the wild and no public exploit code.

Sources

Is GHSA-hgr5-82rc-p936 in your software?

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

Check your SBOMs for free