CVE-2022-25759 Remote Code Injection
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.
| Package | Affected | Fixed in |
|---|---|---|
convert-svg-core npm | All versions | 0.6.2 |
convert-svg-core npm | All versions | 0.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.
Other vulnerabilities in convert-svg-core
Sources
Also known as GHSA-5gxc-fxcr-9326.