CVE-2022-42890: Apache Batik prior to 1.16 allows RCE via scripting
Vulnerability summary
CVE-2022-42890 is a high (CVSS 7.5) Server-Side Request Forgery vulnerability in apache software foundation apache xml graphics. EPSS estimates a 3.38% chance of exploitation in the next 30 days, higher than 89.1% of scored vulnerabilities.
Severe, CVSS 7.5 (NVD); 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.
- 03-08-2024Last modifiedVulnerability information updated.
Description
A vulnerability in Batik of Apache XML Graphics allows an attacker to run Java code from untrusted SVG via JavaScript. This issue affects Apache XML Graphics prior to 1.16. Users are recommended to upgrade to version 1.16.
CVSS metrics
4 scores · 4 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
EPSS trend
Probability
3.38%
Chance of exploitation in the next 30 days
Percentile
89%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 3.36% 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
Org.apache.xmlgraphics2 products
- batik< 1.16
- batik-bridge< 1.16
Apache1 product
- batik≥ 1.0, < 1.16
Apache software foundation1 product
- apache xml graphics≥ Batik, ≤ 1.15
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 · 7 products