GHSA-cp47-r258-q626 Vega vulnerable to arbitrary code execution when clicking href links

Not scored Published

An attacker can execute arbitrary code if a user clicks a malicious href link in a Vega visualization.

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-cp47-r258-q626?

GHSA-cp47-r258-q626 is a code injection vulnerability in vega, published on 2 Mar 2023. 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

Vega is vulnerable to arbitrary code execution when clicking href links. Versions 5.4.1 and 4.5.1 contain a patch.

Which versions are affected by GHSA-cp47-r258-q626?

4 open source packages ship an affected version, including vega.

PackageAffectedFixed in
vega npmAll versions4.5.1
vega npmAll versions4.5.1
vega npmFrom 5.0.05.4.1
vega npmFrom 5.0.05.4.1

How do I fix GHSA-cp47-r258-q626?

Upgrade vega to a fixed version for your release line: 4.5.1 or 5.4.1.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is GHSA-cp47-r258-q626 being exploited?

There is no known exploitation of GHSA-cp47-r258-q626 in the wild and no public exploit code.

Sources

Is GHSA-cp47-r258-q626 in your software?

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

Check your SBOMs for free