CVE-2022-25759 Remote Code Injection

Critical 9.9 Published Updated

Attackers can execute arbitrary code by sending a malicious SVG file to applications using the convert-svg-core library.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-25759?

CVE-2022-25759 is a critical code injection vulnerability in convert-svg-core, published on 22 Jul 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The package convert-svg-core before 0.6.2 are vulnerable to Remote Code Injection via sending an SVG file containing the payload.

Weakness: CWE-94

Which versions are affected by CVE-2022-25759?

2 open source packages ship an affected version, including convert-svg-core. It affects 1 product.

PackageAffectedFixed in
convert-svg-core npmAll versions0.6.2
convert-svg-core npmAll versions0.6.2

Products include Convert-Svg-Core Project Convert-Svg-Core.

How do I fix CVE-2022-25759?

Upgrade convert-svg-core to 0.6.2 or later.

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

Is CVE-2022-25759 being exploited?

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

Sources

Also known as GHSA-5gxc-fxcr-9326.

Is CVE-2022-25759 in your software?

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

Check your SBOMs for free