HIGH 7.5

CVE-2022-42890

Untrusted code execution in Apache XML Graphics Batik

Description

A vulnerability in Batik of Apache XML Graphics allows an attacker to run Java code from untrusted SVG via JavaScript. This issue affects Apache XML Graphics prior to 1.16. Users are recommended to upgrade to version 1.16.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.apache.xmlgraphics » batik
< 1.16
1.16
org.apache.xmlgraphics » batik-bridge
< 1.16
1.16

Blast radius

2affected artifacts
26affected versions
5,775dependent artifacts (est.)
585,011dependent versions

63% of the dependent artifacts (3,650) still pull an affected version in their latest release.

DepthDependent versions
Direct
4,107
2 hops
41,419
3 hops
261,041
4 hops
171,402
5 hops
84,733
6 hops
22,309

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.