Apache Batik Server-Side Request ForgeryGHSA-c5xv-qc8p-mh2v
MEDIUMGHSA-c5xv-qc8p-mh2v is a medium-severity (CVSS 5.3) Server-Side Request Forgery (SSRF) vulnerability in org.apache.xmlgraphics:batik. A fix is available for org.apache.xmlgraphics:batik — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.apache.xmlgraphics:batik☕org.apache.xmlgraphics:batik-bridgeReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.xmlgraphics:batik | ≥ 1.14&&< 1.15 | 1.15org.apache.xmlgraphics:batik:1.15 |
| ☕Maven | org.apache.xmlgraphics:batik-bridge | ≥ 1.14&&< 1.15 | 1.15org.apache.xmlgraphics:batik-bridge:1.15 |
Affected Products
batikapachedebian linuxdebianDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.xmlgraphics:batik, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.xmlgraphics:batik to 1.15 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-c5xv-qc8p-mh2v is resolved across your whole dependency graph.
Workarounds
Restrict outbound requests from the affected component to an allowlist of hosts, block access to link-local and internal address ranges at the network layer, and require authentication on internal services so a forged request cannot reach them unauthenticated.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Fuse 7.12 | batik | RHSA-2023:3954 |
| RHINT Camel-Springboot 3.20.1 | batik | RHSA-2023:2100 |
Frequently Asked Questions
Is GHSA-c5xv-qc8p-mh2v in your dependencies?
Find it across Maven, including transitive dependencies.