Back
CVE-2022-42890Apache Batik prior to 1.16 allows RCE via scripting
- 7.5HighCVSS base score
- 3.4%Exploitation in 30 daysEPSS · top 11% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By apache
- 13 days later
· 13 days later
Published
- 22 months later
· 22 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 3.4% · top 11% of all CVEs (13 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
Apache Software Foundation · Apache XML Graphics
- affected Batik – ≤ 1.15
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.xmlgraphics:batikGHSA-rwqr-m72q-v6cm (opens in a new tab)
- Mavenorg.apache.xmlgraphics:batik-bridgeGHSA-rwqr-m72q-v6cm (opens in a new tab)
References
References5
- https://lists.apache.org/thread/pkvhy0nsj1h1mlon008wtzhosbtxjwly (opens in a new tab)x_transferred
- [oss-security] 20221025 [CVE-2022-42890] Apache Batik information disclosure vulnerability (opens in a new tab)mailing-listx_transferred
- [debian-lts-announce] 20221029 [SECURITY] [DLA 3169-1] batik security update (opens in a new tab)mailing-listx_transferred
- DSA-5264 (opens in a new tab)vendor-advisoryx_transferred
- GLSA-202401-11 (opens in a new tab)vendor-advisoryx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-7161 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-rwqr-m72q-v6cm (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-42890)Record last updated .