Server-Side Request Forgery (SSRF) Affecting batik package, versions <1.8-3ubuntu1+esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.64% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1604-BATIK-3086952
  • published12 Jul 2025
  • disclosed25 Oct 2022

Introduced: 25 Oct 2022

CVE-2022-42890  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 batik to version 1.8-3ubuntu1+esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream batik package and not the batik package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

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 Base Scores

version 3.1