CVE-2022-40146Apache Batik
High 7.5 No auth needed
Follow: this CVE · Apache · Apache Batik We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 3.1
- 7.5
- EPSS
- 5.0% probability of exploitation in 30 days · percentile 93
- Auth required
- No
- Published
- Sep 22, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-918
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
Server-Side Request Forgery (SSRF) vulnerability in Batik of Apache XML Graphics allows an attacker to access files using a Jar url. This issue affects Apache XML Graphics Batik 1.14.
What to do
- Apply the vendor's security update for Batik.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.xmlgraphics:batik |
≥ 1.0 < 1.15 |
1.15 |
— |
Per OSV / GitHub Advisories (GHSA-h4qg-p7r2-cpg3). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | batik | 1.14 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Mailing List Vendor Advisory
- lists.debian.org Mailing List
- security.gentoo.org
- lists.debian.org