MediumGHSA-c5xv-qc8p-mh2vCVE-2022-38398
Apache Batik Server-Side Request Forgery
Published 23 Sept 2022 · Updated 3 Nov 2025
Is your project on an affected org.apache.xmlgraphics:batik?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=1.14 <1.15
- Fixed in
- 1.15
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.apache.xmlgraphics:batik -DdepVersion=1.15 -DforceVersion=true- Affected
- >=1.14 <1.15
- Fixed in
- 1.15
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.apache.xmlgraphics:batik-bridge -DdepVersion=1.15 -DforceVersion=trueDetails
Server-Side Request Forgery (SSRF) vulnerability in Batik of Apache XML Graphics allows an attacker to load a url thru the jar protocol. This issue affects Apache XML Graphics Batik 1.14.
Is GHSA-c5xv-qc8p-mh2v in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.xmlgraphics:batik, and gives you the command that fixes it.
More advisories for org.apache.xmlgraphics:batik
- HighCVE-2022-41704Apache XML Graphics Batik vulnerable to code execution via SVG. · 25 Oct 2022
- HighCVE-2022-42890Untrusted code execution in Apache XML Graphics Batik · 25 Oct 2022
- HighCVE-2022-40146Apache Batik vulnerable to Server-Side Request Forgery · 23 Sept 2022
- MediumCVE-2022-38648Apache Batik vulnerable to Server-Side Request Forgery · 23 Sept 2022
- MediumCVE-2015-0250Improper Input Validation in Apache Batik · 17 May 2022
- CriticalCVE-2018-8013Deserialization of Untrusted Data in Apache Batik · 13 May 2022
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2022-38398
- Packagegithub.com/apache/xmlgraphics-batik
- Linkissues.apache.org/jira/browse/BATIK-1331
- Linklists.apache.org/thread/712c9xwtmyghyokzrm2ml6sps4xlmbsx
- Linklists.debian.org/debian-lts-announce/2023/10/msg00021.html
- Linklists.debian.org/debian-lts-announce/2025/07/msg00006.html
- Linksecurity.gentoo.org/glsa/202401-11
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.