Advisory record · GHSA-rwqr-m72q-v6cm

Untrusted code execution in Apache XML Graphics Batik

CVSS 7.5 HighEPSS 0.034 · 88th percentile

Published by the GitHub Advisory Database at 25 Oct 2022, 19:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.apache.xmlgraphics:batikMaven<1.161.16
org.apache.xmlgraphics:batik-bridgeMaven<1.161.16
Identifiers
GHSA-rwqr-m72q-v6cm · CVE-2022-42890
Weakness (CWE)
CWE-918
Published
25 Oct 2022
Updated
24 Sept 2025

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Apache XML Graphics Batik (org.apache.xmlgraphics:batik and batik-bridge) versions before 1.16 are vulnerable. An attacker who can supply a crafted SVG file to Batik can get it to run Java code through JavaScript embedded in the SVG. Upgrade to version 1.16, which fixes the issue. No workaround is given in the source.

Written 7 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.034, the 88th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:10 UTC First seen by agentprime
  2. 31 Oct 2026, 15:10 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.