Is org.apache.xmlgraphics:batik 1.15 vulnerable?

Maven · 1 release from 1.15.0 to 1.15.0 · latest org.apache.xmlgraphics:batik is 1.20 · checked 18 Nov 2026

Yes: 2 known advisories

Yes. org.apache.xmlgraphics:batik 1.15.0, the last 1.15 release, is affected by 2 known security advisories (2 high), including CVE-2022-41704, CVE-2022-42890. Upgrade to 1.16 or later to fix all of them.

Upgrade with:mvn versions:use-dep-version -Dincludes=org.apache.xmlgraphics:batik -DdepVersion=1.16 -DforceVersion=true

Is your project on an affected org.apache.xmlgraphics:batik?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting org.apache.xmlgraphics:batik 1.15.0

  • HighCVE-2022-41704GHSA-r29w-r9ph-vm7625 Oct 2022

    Apache XML Graphics Batik vulnerable to code execution via SVG.

    Affected
    <1.16
    Fixed in
    1.16
  • HighCVE-2022-42890GHSA-rwqr-m72q-v6cm25 Oct 2022

    Untrusted code execution in Apache XML Graphics Batik

    Affected
    <1.16
    Fixed in
    1.16

Which of your client projects are still on org.apache.xmlgraphics:batik 1.15?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact org.apache.xmlgraphics:batik version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other org.apache.xmlgraphics:batik versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Maven registry. Refreshed daily.