CVE-2022-41704: Apache Batik prior to 1.16 allows RCE when loading untrusted SVG input
Vulnerability summary
CVE-2022-41704 is a high (CVSS 7.5) Server-Side Request Forgery vulnerability in apache software foundation apache xml graphics. EPSS estimates a 3.12% chance of exploitation in the next 30 days, higher than 88.2% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 3Timeline
- 25-10-2022PublishedVulnerability first disclosed.
- 25-02-2026Last modifiedVulnerability information updated.
Description
A vulnerability in Batik of Apache XML Graphics allows an attacker to run untrusted Java code from an SVG. This issue affects Apache XML Graphics prior to 1.16. It is recommended to update to version 1.16.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · MavenEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
3.12%
Chance of exploitation in the next 30 days
Percentile
88%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 3.10% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- batik< 1.16+dfsg-1
- debian_linuxEOL10.0 | 11.0
Apache1 product
- batik≥ 1.0, < 1.16
Apache software foundation1 product
- apache xml graphics≥ Batik, ≤ 1.15
Org.apache.xmlgraphics1 product
- batik< 1.16
Ubuntu1 product
- batik< 1.7.ubuntu-8ubuntu2.14.04.3+esm1 | < 1.8-3ubuntu1+esm1 | < 1.10-2~18.04.1 | < 1.12-1ubuntu0.1 | < 1.14-1ubuntu0.2 | All versions (No fix recorded)
5 vendors · 6 products