Live threats

All CVEs / Apache

CVE-2022-42890Apache Batik

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
3.0%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Oct 25, 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

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Batik.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.xmlgraphics:batik < 1.16 1.16 —
Maven org.apache.xmlgraphics:batik-bridge < 1.16 1.16 —

Per OSV / GitHub Advisories (GHSA-rwqr-m72q-v6cm). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachebatik≥ 1.0 < 1.16
debiandebian_linux10.0
debiandebian_linux11.0

Official sources

References

Links published by the sources. Open them with care.