Skip to content
NewA calmer, faster ZeroHour

CVE-2026-40853

XSS in Apache Batik SVGFont via unencoded font metadata

CVSS
—
EPSS
—
Published
·
Modified
Analyze CVE-2026-40853 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

Apache XML Graphics Batik does not encode font metadata in SVGFont, allowing cross-site scripting (CWE-79). An attacker who supplies a crafted SVG with malicious font metadata can run script in the browser of a user who opens or renders that content. All deployments of Apache Batik through 1.19 are affected.

What to do: Upgrade Apache XML Graphics Batik to 1.20, which fixes unencoded font metadata in SVGFont.

ProductAffectedFixed in
Apache XML Graphics Batikthrough 1.191.20
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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.

Weakness
CWE-79

In the news

1 story