Is org.apache.xmlgraphics:batik 1.12 vulnerable?

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

Yes: 5 known advisories

Yes. org.apache.xmlgraphics:batik 1.12.0, the last 1.12 release, is affected by 5 known security advisories (4 high, 1 medium), including CVE-2022-41704, CVE-2022-42890, CVE-2022-40146. 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.12.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
  • HighCVE-2022-40146GHSA-h4qg-p7r2-cpg323 Sept 2022

    Apache Batik vulnerable to Server-Side Request Forgery

    Affected
    >=1.0 <1.15
    Fixed in
    1.15
  • MediumCVE-2022-38648GHSA-53jm-3hc9-fqqc23 Sept 2022

    Apache Batik vulnerable to Server-Side Request Forgery

    Affected
    <1.15
    Fixed in
    1.15
  • HighCVE-2019-17566GHSA-cmx4-p4v5-hmr59 Feb 2022

    Server-side request forgery (SSRF) in Apache Batik

    Affected
    <1.13
    Fixed in
    1.13

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

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.