MODERATE 5.4

CVE-2026-40853

Apache XML Graphics Batik: Cross-Site Scripting via Unencoded Font Metadata in Apache Batik SVGFont

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

Description

A Cross-Site Scripting via Unencoded Font Metadata in Apache Batik SVGFont.

This issue affects Apache XML Graphics Batik: through 1.19.

Users are recommended to upgrade to version 1.20, which fixes the issue.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.xmlgraphics » batik-svggenpreliminary
<= 1.19.0
-

Blast radius

1affected artifacts
22affected versions
6,860dependent artifacts (est.)
652,086dependent versions

74% of the dependent artifacts (5,122) still pull an affected version in their latest release.

DepthDependent versions
Direct
5,118
2 hops
40,138
3 hops
233,820
4 hops
194,394
5 hops
126,626
6 hops
51,990

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.